aboutsummaryrefslogtreecommitdiff
path: root/gold/common.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-06-23 11:33:52 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-06-23 12:23:32 +0100
commit0e9c5a5c9916efc8a6c518c84ffdd50a745482c3 (patch)
tree60629aadae0f14cf7cbacb6b168d33cad0737bd4 /gold/common.h
parentce440d638d271d76cc491bd22dc34f6a5760140e (diff)
downloadgdb-0e9c5a5c9916efc8a6c518c84ffdd50a745482c3.zip
gdb-0e9c5a5c9916efc8a6c518c84ffdd50a745482c3.tar.gz
gdb-0e9c5a5c9916efc8a6c518c84ffdd50a745482c3.tar.bz2
MIPS/GAS: Keep the original microMIPS symbol reference in branch relocs
Keep original microMIPS symbols in references from branch relocations so that the ISA bit is retained and can be verified for validity in static link. No need to update WRT MIPS16 symbols because we keep them all anyway for other reasons. gas/ * config/tc-mips.c (b_reloc_p): New function. (mips_fix_adjustable): Also keep the original microMIPS symbol referred from branch relocations. * testsuite/gas/mips/branch-local-1.d: New test. * testsuite/gas/mips/branch-local-n32-1.d: New test. * testsuite/gas/mips/branch-local-n64-1.d: New test. * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update relocations. * testsuite/gas/mips/branch-local-1.s: New test source. * testsuite/gas/mips/mips.exp: Run the new cases.
Diffstat (limited to 'gold/common.h')
0 files changed, 0 insertions, 0 deletions