diff options
author | Nick Clifton <nickc@redhat.com> | 2001-05-23 17:36:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-05-23 17:36:38 +0000 |
commit | c2feb6641823cb1391685144614f51d530f2967e (patch) | |
tree | f8ca08ba2173da5250e7767b987da6b0617494e7 /bfd | |
parent | d1cf510e5e1ab5cb49de51ae96ef011ec0ab7510 (diff) | |
download | gdb-c2feb6641823cb1391685144614f51d530f2967e.zip gdb-c2feb6641823cb1391685144614f51d530f2967e.tar.gz gdb-c2feb6641823cb1391685144614f51d530f2967e.tar.bz2 |
Add MIPS ELF64 relocs
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 11 | ||||
-rw-r--r-- | bfd/libbfd.h | 11 | ||||
-rw-r--r-- | bfd/reloc.c | 22 |
4 files changed, 48 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 05a65c1..16a3519 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 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. * archures.c (bfd_mach_mips12000): Define. * cpu-mips.c (arch_info_struct): Add MIPS r12k support. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index b99cfcb..2370fc8 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -2080,6 +2080,17 @@ to compensate for the borrow when the low bits are added. */ BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST, 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 */ diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 9ce8e57..5b02d6f 100644 --- a/bfd/libbfd.h +++ b/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_OFST", "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_PLT32", diff --git a/bfd/reloc.c b/bfd/reloc.c index 5823a23..4fcab60 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -2037,6 +2037,28 @@ ENUMX BFD_RELOC_MIPS_GOT_OFST ENUMX 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 ENUMDOC MIPS ELF relocations. |