aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-03-18 11:22:46 +0000
committerNick Clifton <nickc@redhat.com>2010-03-18 11:22:46 +0000
commitb43420e6cdbc2b1ae000f4671470d208ac7241a9 (patch)
tree461a0ff104afd4e004535bc1f70ce12c0ed688f1 /bfd/reloc.c
parent17299ac7f6d12ac5286a490e43c0cdb75abc0f21 (diff)
downloadbinutils-b43420e6cdbc2b1ae000f4671470d208ac7241a9.zip
binutils-b43420e6cdbc2b1ae000f4671470d208ac7241a9.tar.gz
binutils-b43420e6cdbc2b1ae000f4671470d208ac7241a9.tar.bz2
bfd/
2010-03-15 Wei Guozhi <carrot@google.com> PR gas/11323 * bfd-in2.h (enum bfd_reloc_code_real): New BFD_RELOC_GOT_PREL type. * elf32-arm.c (elf32_arm_reloc_map): BFD_RELOC_GOT_PREL to R_ARM_GOT_PREL map. * libbfd.h (bfd_reloc_code_real_names): BFD_RELOC_GOT_PREL name. * reloc.c (comments): Document the new relocation. gas/ 2010-03-15 Wei Guozhi <carrot@google.com> PR gas/11323 * config/tc-arm.c (reloc_names): New relocation names. (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL. (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL. * doc/c-arm.texi (ARM-Relocations): Document the new relocation. gas/testsuite 2010-03-15 Wei Guozhi <carrot@google.com> PR gas/11323 * gas/arm/got_prel.s: New test case. * gas/arm/got_prel.d: Likewise.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 1974851..cacd0de 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2936,6 +2936,8 @@ ENUMX
BFD_RELOC_ARM_GOTOFF
ENUMX
BFD_RELOC_ARM_GOTPC
+ENUMX
+ BFD_RELOC_ARM_GOT_PREL
ENUMDOC
Relocations for setting up GOTs and PLTs for shared libraries.