aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-infthread.c
diff options
context:
space:
mode:
authorAndrew Bennett <andrew.bennett@imgtec.com>2014-11-20 15:40:16 +0000
committerAndrew Bennett <andrew.bennett@imgtec.com>2014-12-02 13:27:36 +0000
commit538baf8b7e6d17a490f126f8565638469da70204 (patch)
treef745305eacbe1920bebcd9803dbc50016da037fc /gdb/python/py-infthread.c
parent51aecdc5320d1707e1f034f05a378e60aae71d18 (diff)
downloadbinutils-538baf8b7e6d17a490f126f8565638469da70204.zip
binutils-538baf8b7e6d17a490f126f8565638469da70204.tar.gz
binutils-538baf8b7e6d17a490f126f8565638469da70204.tar.bz2
[MIPS] When calculating a relocation using an undefined weak symbol don't check for overflow.
In MIPS the relocation calculation only ignores the overflow checks for undefined weak symbols on relocations associated with j/jal. This patch extends this to the relocations used by the: b* instructions; pc/gp relative symbol offsets; and the lwpc/ldpc MIPS r6 instructions. bfd/ * elfxx-mips.c (mips_elf_calculate_relocation): Only check for overflow on non-weak undefined symbols. ld/testsuite/ * ld-mips-elf/mips-elf.exp: Add in undefined weak overflow tests for o32, n32 and n64. * ld-mips-elf/undefweak-overflow.s: New test. * ld-mips-elf/undefweak-overflow.d: New test. * ld-mips-elf/undefweak-overflow-n32.d: New test. * ld-mips-elf/undefweak-overflow-n64.d: New test.
Diffstat (limited to 'gdb/python/py-infthread.c')
0 files changed, 0 insertions, 0 deletions