diff options
author | Thiemo Seufer <ths@networkno.de> | 2001-12-02 13:14:48 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2001-12-02 13:14:48 +0000 |
commit | f44b2901483916c3ee743a63e81c5e9fdbadf036 (patch) | |
tree | 4597741bbb1f49aa951d4e8ea09d4a4eaf280e20 /bfd/coff-mips.c | |
parent | c6170c36e58e223f035c5dc7900c0c82cdad29b0 (diff) | |
download | binutils-redhat-f44b2901483916c3ee743a63e81c5e9fdbadf036.tar.gz |
* coff-mips.c (mips_bfd_reloc_type_lookup): Replace
BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
* pe-mips.c (mips_bfd_reloc_type_lookup): Likewise.
* elf32-mips.c (mips_reloc_map): Likewise. Replace
BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
* elf64-mips.c (mips_reloc_map): Likewise.
* reloc.c (BFD_RELOC_MIPS_GPREL): Remove.
(BFD_RELOC_MIPS_GPREL32): Remove.
* config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
by BFD_RELOC_GPREL16.
(load_address): Likewise.
(macro): Likewise.
(md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by
BFD_RELOC_GPREL32.
(s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
(tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
*config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
Diffstat (limited to 'bfd/coff-mips.c')
-rw-r--r-- | bfd/coff-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-mips.c b/bfd/coff-mips.c index bb57247d78..a6950d1114 100644 --- a/bfd/coff-mips.c +++ b/bfd/coff-mips.c @@ -1146,7 +1146,7 @@ mips_bfd_reloc_type_lookup (abfd, code) case BFD_RELOC_LO16: mips_type = MIPS_R_REFLO; break; - case BFD_RELOC_MIPS_GPREL: + case BFD_RELOC_GPREL16: mips_type = MIPS_R_GPREL; break; case BFD_RELOC_MIPS_LITERAL: |