aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-07 18:29:38 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-07 18:29:38 +0000
commitdabf906e9b6d4208a3a9fc9556fd1f913ad84e75 (patch)
treeb9bad6f9d67714a2239e945d422ebfe44a6427d7 /sim/sh
parent14bf9e4b42597d5edaf0383548d3d62e69d04d96 (diff)
downloadgdb-dabf906e9b6d4208a3a9fc9556fd1f913ad84e75.zip
gdb-dabf906e9b6d4208a3a9fc9556fd1f913ad84e75.tar.gz
gdb-dabf906e9b6d4208a3a9fc9556fd1f913ad84e75.tar.bz2
* coff-mips.c (mips_howto_table): Add entry for MIPS_R_SWITCH.
(mips_ecoff_swap_reloc_in): For MIPS_R_SWTICH, copy r_symndx into r_offset and set r_symndx to RELOC_SECTION_TEXT. (mips_ecoff_swap_reloc_out): For MIPS_R_SWITCH, get the r_symndx value from the r_offset field. (mips_adjust_reloc_in): Maximum r_type value is now MIPS_R_SWITCH. For MIPS_R_SWITCH, copy the r_offset field into the addend field. (mips_adjust_reloc_out): For MIPS_R_SWITCH, copy the addend field into the r_offset field. (mips_switch_reloc): New function. (mips_bfd_reloc_type_lookup): Translate BFD_RELOC_GPREL32 into MIPS_R_SWITCH. (mips_relocate_section): Handle MIPS_R_SWITCH. (mips_relax_section): Adjust MIPS_R_SWITCH offset if necessary.
Diffstat (limited to 'sim/sh')
0 files changed, 0 insertions, 0 deletions