aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-10-14 20:04:50 +0000
committerDaniel Jacobowitz <drow@false.org>2005-10-14 20:04:50 +0000
commit4047c8a1be1f920d9c8378662dbd8fa2db6aad8e (patch)
treeeb760e303c55830aa46865b29bbc147069da0924
parent56fd9a33d8e0e064a7e4f71a94e94db616947396 (diff)
downloadbinutils-4047c8a1be1f920d9c8378662dbd8fa2db6aad8e.zip
binutils-4047c8a1be1f920d9c8378662dbd8fa2db6aad8e.tar.gz
binutils-4047c8a1be1f920d9c8378662dbd8fa2db6aad8e.tar.bz2
2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> * bfd/elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP and SHT_ARM_ATTRIBUTES. 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> * include/elf/arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
-rw-r--r--ChangeLog.csl11
-rw-r--r--bfd/elf32-arm.c2
-rw-r--r--include/elf/arm.h2
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index e52c85b..60f04b5 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,14 @@
+2005-10-14 Daniel Jacobowitz <dan@codesourcery.com>
+
+ Backport:
+ 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com>
+ * bfd/elf32-arm.c (elf32_arm_section_from_shdr): Accept
+ SHT_ARM_PREEMPTMAP and SHT_ARM_ATTRIBUTES.
+
+ 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com>
+ * include/elf/arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New
+ defines.
+
2005-06-14 Mark Mitchell <mark@codesourcery.com>
* readline/rlnotty.c (tgoto): New function.
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index cfa0b11..d6f2be8 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -5470,6 +5470,8 @@ elf32_arm_section_from_shdr (bfd *abfd,
switch (hdr->sh_type)
{
case SHT_ARM_EXIDX:
+ case SHT_ARM_PREEMPTMAP:
+ case SHT_ARM_ATTRIBUTES:
break;
default:
diff --git a/include/elf/arm.h b/include/elf/arm.h
index de3ed06..3ca00b6 100644
--- a/include/elf/arm.h
+++ b/include/elf/arm.h
@@ -71,6 +71,8 @@
/* Additional section types. */
#define SHT_ARM_EXIDX 0x70000001 /* Section holds ARM unwind info. */
+#define SHT_ARM_PREEMPTMAP 0x70000002 /* Section pre-emption details. */
+#define SHT_ARM_ATTRIBUTES 0x70000003 /* Section holds attributes. */
/* ARM-specific values for sh_flags. */
#define SHF_ENTRYSECT 0x10000000 /* Section contains an entry point. */