diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-11 20:30:12 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-11 20:30:12 +0000 |
commit | a4183ba5c975bcaed9473184a0830d73ebd84487 (patch) | |
tree | 7a40ed37446c61c4141b555ad8ae197244ea1f98 /bfd/reloc.c | |
parent | 37404956b433bcbef387449d997a683be6f78369 (diff) | |
download | gdb-a4183ba5c975bcaed9473184a0830d73ebd84487.zip gdb-a4183ba5c975bcaed9473184a0830d73ebd84487.tar.gz gdb-a4183ba5c975bcaed9473184a0830d73ebd84487.tar.bz2 |
* elf32-mips.c (reloc_type): Add R_MIPS16_GPREL.
(elf_mips16_gprel_howto): New static variable.
(mips16_gprel_reloc): New static function.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_GPREL.
(mips_info_to_howto_rel): Handle R_MIPS16_GPREL.
(mips_elf_relocate_section): Handle R_MIPS16_GPREL.
* reloc.c (BFD_RELOC_MIPS16_GPREL): Define.
* bfd-in2.h, libbfd.h: Rebuild.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r-- | bfd/reloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c index 3cf9d73..81571b3 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -1962,6 +1962,11 @@ ENUMDOC The MIPS16 jump instruction. ENUM + BFD_RELOC_MIPS16_GPREL +ENUMDOC + MIPS16 GP relative reloc. + +ENUM BFD_RELOC_HI16 ENUMDOC High 16 bits of 32-bit value; simple reloc. |