* aoutx.h (some_aout_object_p): Don't set EXEC_P for files with
relocs.
This commit is contained in:
parent
ba25b92104
commit
4c1534c7a2
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-07-22 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* aoutx.h (some_aout_object_p): Don't set EXEC_P for files with
|
||||
relocs.
|
||||
|
||||
2010-07-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf.c (assign_file_positions_for_load_sections): Check that
|
||||
|
|
|
@ -629,7 +629,9 @@ NAME (aout, some_aout_object_p) (bfd *abfd,
|
|||
if (execp->a_entry != 0
|
||||
|| (execp->a_entry >= obj_textsec (abfd)->vma
|
||||
&& execp->a_entry < (obj_textsec (abfd)->vma
|
||||
+ obj_textsec (abfd)->size)))
|
||||
+ obj_textsec (abfd)->size)
|
||||
&& execp->a_trsize == 0
|
||||
&& execp->a_drsize == 0))
|
||||
abfd->flags |= EXEC_P;
|
||||
#ifdef STAT_FOR_EXEC
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue