aboutsummaryrefslogtreecommitdiff
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
commit7793f4d007be419ed2020614783f0797cc5e3634 (patch)
tree7efa3978b45b8ffe67154f9e1167b0f07b5bdaf3 /bfd/reloc.c
parentda966255a51ecc124f8eb1a23b8b62e1b76b75a0 (diff)
downloadgdb-7793f4d007be419ed2020614783f0797cc5e3634.zip
gdb-7793f4d007be419ed2020614783f0797cc5e3634.tar.gz
gdb-7793f4d007be419ed2020614783f0797cc5e3634.tar.bz2
* 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 40e07a6..559a351 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;