aboutsummaryrefslogtreecommitdiff
path: root/bfd/pe-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-12-02 13:14:48 +0000
committerThiemo Seufer <ths@networkno.de>2001-12-02 13:14:48 +0000
commitcdf6fd85e68d3a06bbbf6a3b3065f6b1af2344f7 (patch)
tree9d0635fdf8b80e8a2fa9b45a11e57fd18a392fb0 /bfd/pe-mips.c
parent2607059cba7993c0260ef42af5bc74df8f3f3a6e (diff)
downloadfsf-binutils-gdb-cdf6fd85e68d3a06bbbf6a3b3065f6b1af2344f7.zip
fsf-binutils-gdb-cdf6fd85e68d3a06bbbf6a3b3065f6b1af2344f7.tar.gz
fsf-binutils-gdb-cdf6fd85e68d3a06bbbf6a3b3065f6b1af2344f7.tar.bz2
* 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/pe-mips.c')
-rw-r--r--bfd/pe-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/pe-mips.c b/bfd/pe-mips.c
index a5885d0..c78726d 100644
--- a/bfd/pe-mips.c
+++ b/bfd/pe-mips.c
@@ -527,7 +527,7 @@ coff_mips_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: