mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
Add reloc.c entries MIPS_CALL_HI16/MIPS_CALL_LO16.
This commit is contained in:
parent
e9f03cd450
commit
b7384d226b
@ -13,6 +13,7 @@ Tue Feb 13 14:35:15 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* reloc.c (BFD_RELOC_MIPS_GOT_HI16): Define.
|
||||
(BFD_RELOC_MIPS_GOT_LO16): Define.
|
||||
(BFD_RELOC_MIPS_CALL_HI16, BFD_RELOC_MIPS_CALL_LO16): Define.
|
||||
* bfd-in2.h, libbfd.h: Rebuild.
|
||||
* elf32-mips.c (mips_reloc_map): Map new relocs.
|
||||
|
||||
|
@ -1602,6 +1602,8 @@ to compensate for the borrow when the low bits are added. */
|
||||
#define BFD_RELOC_MIPS_GPREL32 BFD_RELOC_GPREL32
|
||||
BFD_RELOC_MIPS_GOT_HI16,
|
||||
BFD_RELOC_MIPS_GOT_LO16,
|
||||
BFD_RELOC_MIPS_CALL_HI16,
|
||||
BFD_RELOC_MIPS_CALL_LO16,
|
||||
|
||||
/* i386/elf relocations */
|
||||
BFD_RELOC_386_GOT32,
|
||||
|
@ -1252,7 +1252,9 @@ static CONST struct elf_reloc_map mips_reloc_map[] =
|
||||
{ BFD_RELOC_MIPS_CALL16, R_MIPS_CALL16 },
|
||||
{ BFD_RELOC_MIPS_GPREL32, R_MIPS_GPREL32 },
|
||||
{ BFD_RELOC_MIPS_GOT_HI16, R_MIPS_GOT_HI16 },
|
||||
{ BFD_RELOC_MIPS_GOT_LO16, R_MIPS_GOT_LO16 }
|
||||
{ BFD_RELOC_MIPS_GOT_LO16, R_MIPS_GOT_LO16 },
|
||||
{ BFD_RELOC_MIPS_CALL_HI16, R_MIPS_CALL_HI16 },
|
||||
{ BFD_RELOC_MIPS_CALL_LO16, R_MIPS_CALL_LO16 }
|
||||
};
|
||||
|
||||
/* Given a BFD reloc type, return a howto structure. */
|
||||
|
@ -625,6 +625,8 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
|
||||
"BFD_RELOC_MIPS_CALL16",
|
||||
"BFD_RELOC_MIPS_GOT_HI16",
|
||||
"BFD_RELOC_MIPS_GOT_LO16",
|
||||
"BFD_RELOC_MIPS_CALL_HI16",
|
||||
"BFD_RELOC_MIPS_CALL_LO16",
|
||||
"BFD_RELOC_386_GOT32",
|
||||
"BFD_RELOC_386_PLT32",
|
||||
"BFD_RELOC_386_COPY",
|
||||
|
Loading…
Reference in New Issue
Block a user