aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffexec.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-14 17:33:22 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-14 17:33:22 +0000
commit4f996613fabd8a4445f7ed4134fa764294069951 (patch)
tree3a5d3aa869945b1abd87b239a3500a0f07c9bf38 /gdb/xcoffexec.c
parent7efb18503dfcd9f6eb008d7e6d1819e9d4f57dd4 (diff)
downloadbinutils-4f996613fabd8a4445f7ed4134fa764294069951.zip
binutils-4f996613fabd8a4445f7ed4134fa764294069951.tar.gz
binutils-4f996613fabd8a4445f7ed4134fa764294069951.tar.bz2
* coff-mips.c (mips_howto_table): Add dummy entries to account for
numbering changes in include/coff/mips.h. Add entries for MIPS_R_RELHI and MIPS_R_RELLO. (mips_ecoff_swap_reloc_in): Handle an extra bit for the reloc type when little endian. Treat internal MIPS_R_RELLO or MIPS_R_RELHI relocs like MIPS_R_SWITCH, and convert r_offset from 24 to 32 bits. (mips_ecoff_swap_reloc_out): Likewise. (mips_adjust_reloc_in): Handle internal MIPS_R_RELLO or MIPS_R_RELHI relocs like MIPS_R_SWITCH. (mips_adjust_reloc_out): Likewise. (mips_relhi_addr, mips_relhi_addend): New static variables. (mips_relhi_reloc, mips_rello_reloc): New functions. (mips_bfd_reloc_type_lookup): Turn BFD_RELOC_PCREL_HI16_S into MIPS_R_RELHI and turn BFD_RELOC_PCREL_LO16 into MIPS_R_RELLO. (mips_relocate_hi): Rename from mips_relocate_refhi, and add pcrel argument. Changed all callers. (mips_relocate_section): Rename got_reflo to got_lo and reflo_int_rel to lo_int_rel. Handle MIPS_R_RELLO and MIPS_R_RELHI relocs. (mips_relax_section): Adjust MIPS_R_RELHI/MIPS_R_RELLO pairs when expanding a PC relative call.
Diffstat (limited to 'gdb/xcoffexec.c')
0 files changed, 0 insertions, 0 deletions