mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-06 15:43:09 +00:00
* aoutx.h (some_aout_object_p): Don't set EXEC_P for files with
relocs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user