summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-08-16 13:38:09 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-08-16 13:38:09 +0000
commit0abbc9f1d0f15ae45b6cc2a9d0d7cead76f3ccdf (patch)
treeb2faa5ec15dc7745d4ecd90b756422a8b3a885df /include
parent855e63eb4b1ea80dd892309e2bcd214626a90611 (diff)
downloadcygnal-0abbc9f1d0f15ae45b6cc2a9d0d7cead76f3ccdf.tar.gz
cygnal-0abbc9f1d0f15ae45b6cc2a9d0d7cead76f3ccdf.tar.bz2
cygnal-0abbc9f1d0f15ae45b6cc2a9d0d7cead76f3ccdf.zip
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 'include')
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/common.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 8341638d2..5f2fa543a 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2007-07-09 Roland McGrath <roland@redhat.com>
* common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
diff --git a/include/elf/common.h b/include/elf/common.h
index bc9a5cf2e..2bba1e2a1 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -307,7 +307,8 @@
#define PT_GNU_EH_FRAME (PT_LOOS + 0x474e550) /* Frame unwind information */
#define PT_SUNW_EH_FRAME PT_GNU_EH_FRAME /* Solaris uses the same value */
-#define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */
+#define PT_GNU_ATTR (PT_LOOS + 0x474e551) /* Attribute info */
+#define PT_GNU_STACK PT_GNU_ATTR /* Stack flags */
#define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */
/* Program segment permissions, in program header p_flags field. */