diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-08-16 13:38:09 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-08-16 13:38:09 +0000 |
commit | 94b11780add5766507abe9dfe493186d085fdd60 (patch) | |
tree | 633fee0f935827213f7b733f705efcd30b529a25 /binutils | |
parent | 1192f4a2b365a81014119e8a6384f51ee083015d (diff) | |
download | gdb-94b11780add5766507abe9dfe493186d085fdd60.zip gdb-94b11780add5766507abe9dfe493186d085fdd60.tar.gz gdb-94b11780add5766507abe9dfe493186d085fdd60.tar.bz2 |
bfd/
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.
binutils/
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.
include/elf/
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New. Make an alias of PT_GNU_ATTR.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 352e722..6522f1d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2007-08-16 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (get_segment_type): Change PT_GNU_STACK to + PT_GNU_ATTR. + 2007-08-12 Daniel Jacobowitz <dan@codesourcery.com> * NEWS: Add a marker for the 2.18 features. diff --git a/binutils/readelf.c b/binutils/readelf.c index 7e30584..69bd55d 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2467,7 +2467,7 @@ get_segment_type (unsigned long p_type) case PT_GNU_EH_FRAME: return "GNU_EH_FRAME"; - case PT_GNU_STACK: return "GNU_STACK"; + case PT_GNU_ATTR: return "GNU_ATTR"; case PT_GNU_RELRO: return "GNU_RELRO"; default: |