From 94b11780add5766507abe9dfe493186d085fdd60 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 16 Aug 2007 13:38:09 +0000 Subject: bfd/ 2007-08-16 H.J. Lu * 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 * readelf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. include/elf/ 2007-08-16 H.J. Lu * common.h (PT_GNU_STACK): Renamed to ... (PT_GNU_ATTR): This. (PT_GNU_STACK): New. Make an alias of PT_GNU_ATTR. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'binutils') 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 + + * readelf.c (get_segment_type): Change PT_GNU_STACK to + PT_GNU_ATTR. + 2007-08-12 Daniel Jacobowitz * 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: -- cgit v1.1