* config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
authorPaul Brook <paul@codesourcery.com>
Thu, 9 Dec 2004 20:25:24 +0000 (20:25 +0000)
committerPaul Brook <paul@codesourcery.com>
Thu, 9 Dec 2004 20:25:24 +0000 (20:25 +0000)
for function start.
* testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.

gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/unwind.d

index 27e3cce89eaa5410a19c44037ac4b669d7811654..8a1989fc41a702551bd3096485b93cc02a21f82a 100644 (file)
@@ -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
index ff2e4aafcd72f702b2015051902c7efb1ed4a494..009be15193a8329665d68796e066c0f6ab592864 100644 (file)
@@ -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.  */
index c9dedbc9f9b8e1363fd1af8bc556bf04d26375aa..095611378b407203e9086824d6c0ac9d0e3ead1a 100644 (file)
@@ -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.
index 7be60b4b59dacc040c39c6bf484bdb766cd640bb..dfa7d0dd3cf08fabdfee1c2a9a9cc772974cedcd 100644 (file)
@@ -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: