aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-04-02 15:25:05 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-04-02 15:25:05 +0000
commit1f433d93ad63424103d5b3c08d44e6eaff234293 (patch)
treeb66dad232f26871ff420d7a3928b81f51557eaf5
parent6502dd734b6360b7d268e31dca8b96b869f7f149 (diff)
downloadgdb-1f433d93ad63424103d5b3c08d44e6eaff234293.zip
gdb-1f433d93ad63424103d5b3c08d44e6eaff234293.tar.gz
gdb-1f433d93ad63424103d5b3c08d44e6eaff234293.tar.bz2
2004-04-02 H.J. Lu <hongjiu.lu@intel.com>
* elf32-arm.h (elf32_arm_final_link_relocate): Handle R_ARM_ALU* only if OLD_ARM_ABI is not defined.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6f6b14c..b54be88 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Handle
+ R_ARM_ALU* only if OLD_ARM_ABI is not defined.
+
2004-04-01 Paul Brook <paul@codesourcery.com>
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index d3f8d1f..39864d4 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -1767,6 +1767,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
return bfd_reloc_ok;
}
+#ifndef OLD_ARM_ABI
case R_ARM_ALU_PCREL7_0:
case R_ARM_ALU_PCREL15_8:
case R_ARM_ALU_PCREL23_15:
@@ -1791,6 +1792,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
bfd_put_32 (input_bfd, value, hit_data);
}
return bfd_reloc_ok;
+#endif
case R_ARM_GNU_VTINHERIT:
case R_ARM_GNU_VTENTRY: