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/bfd-in2.h | |
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/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index a092ba8..a14a170 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1681,6 +1681,9 @@ simple reloc otherwise. */ /* The MIPS16 jump instruction. */ BFD_RELOC_MIPS16_JMP, +/* MIPS16 GP relative reloc. */ + BFD_RELOC_MIPS16_GPREL, + /* High 16 bits of 32-bit value; simple reloc. */ BFD_RELOC_HI16, |