aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-09-30 17:03:53 +0000
committerPaul Brook <paul@codesourcery.com>2004-09-30 17:03:53 +0000
commiteeac373afe5b54b040354ac7680c46ae7934aae0 (patch)
treeadbdf8e087159395d58867078a6a7d44060b0e72 /bfd
parent56157dbefc9f44aa294e92b773224141aeef6237 (diff)
downloadgdb-eeac373afe5b54b040354ac7680c46ae7934aae0.zip
gdb-eeac373afe5b54b040354ac7680c46ae7934aae0.tar.gz
gdb-eeac373afe5b54b040354ac7680c46ae7934aae0.tar.bz2
bfd/
* elf32-arm.h (bfd_elf32_arm_set_target_relocs): Handle "abs" target2 relocation type. ld/ * ld.texinfo: Document --target2=abs. * emulparms/armsymbian.sh (TARGET2_TYPE): Set. ld/testsuite/ * ld-arm/arm-elf.exp: Add test for --target2=abs. * ld-arm/arm-target2-abs.d: New file.
Diffstat (limited to 'bfd')
-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 bb4d5e3..77510cb 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-30 Paul Brook <paul@codesourcery.com>
+
+ * elf32-arm.h (bfd_elf32_arm_set_target_relocs): Handle "abs"
+ target2 relocation type.
+
2004-09-30 H.J. Lu <hongjiu.lu@intel.com>
PR 414
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index 27e74d9..99ed731 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -925,6 +925,8 @@ bfd_elf32_arm_set_target_relocs (struct bfd_link_info *link_info,
globals->target1_is_rel = target1_is_rel;
if (strcmp (target2_type, "rel") == 0)
globals->target2_reloc = R_ARM_REL32;
+ else if (strcmp (target2_type, "abs") == 0)
+ globals->target2_reloc = R_ARM_ABS32;
else if (strcmp (target2_type, "got-rel") == 0)
globals->target2_reloc = R_ARM_GOT_PREL;
else