aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-12-09 20:25:24 +0000
committerPaul Brook <paul@codesourcery.com>2004-12-09 20:25:24 +0000
commitbe1b2b4b3b83b634b6848c952df617f62da311f7 (patch)
tree478dd71f52d4e48eb9d7d7e0cb3497f6eece5f20 /gas
parent45851e004a991f1e206ce499319ab485648c736b (diff)
downloadgdb-be1b2b4b3b83b634b6848c952df617f62da311f7.zip
gdb-be1b2b4b3b83b634b6848c952df617f62da311f7.tar.gz
gdb-be1b2b4b3b83b634b6848c952df617f62da311f7.tar.bz2
* config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
for function start. * testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c2
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/arm/unwind.d10
4 files changed, 15 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 27e3cce..8a1989f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-09 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
+ for function start.
+
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
* config/tc-mips.c (append_insn): If we emit a nop during a relax
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index ff2e4aa..009be15 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -14079,7 +14079,7 @@ s_arm_unwind_fnend (int ignored ATTRIBUTE_UNUSED)
/* Self relative offset of the function start. */
fix_new (frag_now, where, 4, unwind.proc_start, 0, 1,
- BFD_RELOC_32);
+ BFD_RELOC_ARM_PREL31);
if (val)
/* Inline exception table entry. */
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index c9dedbc..0956113 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-09 Paul Brook <paul@codesourcery.com>
+
+ * gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.
+
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
* gas/mips/branch-swap.d: Pass -32 to as.
diff --git a/gas/testsuite/gas/arm/unwind.d b/gas/testsuite/gas/arm/unwind.d
index 7be60b4..dfa7d0d 100644
--- a/gas/testsuite/gas/arm/unwind.d
+++ b/gas/testsuite/gas/arm/unwind.d
@@ -10,14 +10,14 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR \[.ARM.exidx\]:
OFFSET TYPE VALUE
-00000000 R_ARM_REL32 .text
-00000008 R_ARM_REL32 .text
+00000000 R_ARM_PREL31 .text
+00000008 R_ARM_PREL31 .text
0000000c R_ARM_PREL31 .ARM.extab
-00000010 R_ARM_REL32 .text
+00000010 R_ARM_PREL31 .text
00000014 R_ARM_PREL31 .ARM.extab
-00000018 R_ARM_REL32 .text
+00000018 R_ARM_PREL31 .text
0000001c R_ARM_PREL31 .ARM.extab
-00000020 R_ARM_REL32 .text
+00000020 R_ARM_PREL31 .text
Contents of section .text: