projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in gnu-nat.c
[deliverable/binutils-gdb.git]
/
bfd
/
aout-target.h
diff --git
a/bfd/aout-target.h
b/bfd/aout-target.h
index 365202e0ce3364d22a1ef647c413d94921af54f8..214c4c5a4917aba3db99eb26ef0dda356fc57c3d 100644
(file)
--- a/
bfd/aout-target.h
+++ b/
bfd/aout-target.h
@@
-180,7
+180,8
@@
MY (object_p) (bfd *abfd)
#ifndef S_IXUSR
#define S_IXUSR 0100 /* Execute by owner. */
#endif
#ifndef S_IXUSR
#define S_IXUSR 0100 /* Execute by owner. */
#endif
- if (stat (abfd->filename, &buf) == 0 && (buf.st_mode & S_IXUSR))
+ if (stat (bfd_get_filename (abfd), &buf) == 0
+ && (buf.st_mode & S_IXUSR) != 0)
abfd->flags |= EXEC_P;
}
#endif /* ENTRY_CAN_BE_ZERO */
abfd->flags |= EXEC_P;
}
#endif /* ENTRY_CAN_BE_ZERO */
This page took
0.03714 seconds
and
4
git commands to generate.