summaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-02-09 22:53:53 +0000
committerRichard Henderson <rth@redhat.com>2002-02-09 22:53:53 +0000
commit2ef1cc2c94c0dbce9730e15c532071c35b2d8595 (patch)
tree19b4fb167b0d181afc46d4ec370064bb4e4b8098 /bfd/reloc.c
parent6bb3d76fd766e6cb683977efac98eccb573f9433 (diff)
downloadgdb-2ef1cc2c94c0dbce9730e15c532071c35b2d8595.tar.gz
* elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP.
(elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. (elf64_alpha_relocate_section): Likewise. * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. * bfd-in2.h, libbfd.h: Rebuild.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 40e07a6a2d5..559a351dfd7 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -1956,6 +1956,13 @@ ENUMDOC
GP register.
ENUM
+ BFD_RELOC_ALPHA_BRSGP
+ENUMDOC
+ Like BFD_RELOC_23_PCREL_S2, except that the source and target must
+ share a common GP, and the target address is adjusted for
+ STO_ALPHA_STD_GPLOAD.
+
+ENUM
BFD_RELOC_MIPS_JMP
ENUMDOC
Bits 27..2 of the relocation address shifted right 2 bits;