Add MIPS ELF64 relocs
This commit is contained in:
parent
d1cf510e5e
commit
c2feb66418
|
@ -1,5 +1,9 @@
|
||||||
2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
|
* reloc.c (bfd_reloc_code_real): Add MIPS ELF64 relocations.
|
||||||
|
* libbfd.h: Regenerate.
|
||||||
|
* bfd0in2.h: Regenerate.
|
||||||
|
|
||||||
* aoutx.h (aout_@var{size}_machine_type): Add MIPS r12k support.
|
* aoutx.h (aout_@var{size}_machine_type): Add MIPS r12k support.
|
||||||
* archures.c (bfd_mach_mips12000): Define.
|
* archures.c (bfd_mach_mips12000): Define.
|
||||||
* cpu-mips.c (arch_info_struct): Add MIPS r12k support.
|
* cpu-mips.c (arch_info_struct): Add MIPS r12k support.
|
||||||
|
|
|
@ -2080,6 +2080,17 @@ to compensate for the borrow when the low bits are added. */
|
||||||
BFD_RELOC_MIPS_GOT_PAGE,
|
BFD_RELOC_MIPS_GOT_PAGE,
|
||||||
BFD_RELOC_MIPS_GOT_OFST,
|
BFD_RELOC_MIPS_GOT_OFST,
|
||||||
BFD_RELOC_MIPS_GOT_DISP,
|
BFD_RELOC_MIPS_GOT_DISP,
|
||||||
|
BFD_RELOC_MIPS_SHIFT5,
|
||||||
|
BFD_RELOC_MIPS_SHIFT6,
|
||||||
|
BFD_RELOC_MIPS_INSERT_A,
|
||||||
|
BFD_RELOC_MIPS_INSERT_B,
|
||||||
|
BFD_RELOC_MIPS_DELETE,
|
||||||
|
BFD_RELOC_MIPS_HIGHEST,
|
||||||
|
BFD_RELOC_MIPS_HIGHER,
|
||||||
|
BFD_RELOC_MIPS_SCN_DISP,
|
||||||
|
BFD_RELOC_MIPS_REL16,
|
||||||
|
BFD_RELOC_MIPS_RELGOT,
|
||||||
|
BFD_RELOC_MIPS_JALR,
|
||||||
|
|
||||||
|
|
||||||
/* i386/elf relocations */
|
/* i386/elf relocations */
|
||||||
|
|
11
bfd/libbfd.h
11
bfd/libbfd.h
|
@ -731,6 +731,17 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
|
||||||
"BFD_RELOC_MIPS_GOT_PAGE",
|
"BFD_RELOC_MIPS_GOT_PAGE",
|
||||||
"BFD_RELOC_MIPS_GOT_OFST",
|
"BFD_RELOC_MIPS_GOT_OFST",
|
||||||
"BFD_RELOC_MIPS_GOT_DISP",
|
"BFD_RELOC_MIPS_GOT_DISP",
|
||||||
|
"BFD_RELOC_MIPS_SHIFT5",
|
||||||
|
"BFD_RELOC_MIPS_SHIFT6",
|
||||||
|
"BFD_RELOC_MIPS_INSERT_A",
|
||||||
|
"BFD_RELOC_MIPS_INSERT_B",
|
||||||
|
"BFD_RELOC_MIPS_DELETE",
|
||||||
|
"BFD_RELOC_MIPS_HIGHEST",
|
||||||
|
"BFD_RELOC_MIPS_HIGHER",
|
||||||
|
"BFD_RELOC_MIPS_SCN_DISP",
|
||||||
|
"BFD_RELOC_MIPS_REL16",
|
||||||
|
"BFD_RELOC_MIPS_RELGOT",
|
||||||
|
"BFD_RELOC_MIPS_JALR",
|
||||||
|
|
||||||
"BFD_RELOC_386_GOT32",
|
"BFD_RELOC_386_GOT32",
|
||||||
"BFD_RELOC_386_PLT32",
|
"BFD_RELOC_386_PLT32",
|
||||||
|
|
22
bfd/reloc.c
22
bfd/reloc.c
|
@ -2037,6 +2037,28 @@ ENUMX
|
||||||
BFD_RELOC_MIPS_GOT_OFST
|
BFD_RELOC_MIPS_GOT_OFST
|
||||||
ENUMX
|
ENUMX
|
||||||
BFD_RELOC_MIPS_GOT_DISP
|
BFD_RELOC_MIPS_GOT_DISP
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_SHIFT5
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_SHIFT6
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_INSERT_A
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_INSERT_B
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_DELETE
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_HIGHEST
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_HIGHER
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_SCN_DISP
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_REL16
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_RELGOT
|
||||||
|
ENUMX
|
||||||
|
BFD_RELOC_MIPS_JALR
|
||||||
COMMENT
|
COMMENT
|
||||||
ENUMDOC
|
ENUMDOC
|
||||||
MIPS ELF relocations.
|
MIPS ELF relocations.
|
||||||
|
|
Loading…
Reference in New Issue