aboutsummaryrefslogtreecommitdiff
path: root/binutils/maybe-ranlib.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-04-09 13:42:00 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-04-09 13:42:00 +0100
commit3f97ba9fc82dbb1bca72fd8a137b2de132348367 (patch)
tree103114a16d83aec1c5af01d633382ef1422e1bc9 /binutils/maybe-ranlib.c
parent9ccfa98b4cbc86ac34734ecf9d35466461c7e34c (diff)
downloadgdb-3f97ba9fc82dbb1bca72fd8a137b2de132348367.zip
gdb-3f97ba9fc82dbb1bca72fd8a137b2de132348367.tar.gz
gdb-3f97ba9fc82dbb1bca72fd8a137b2de132348367.tar.bz2
binutils/testsuite: Verify the handling of invalid `r_sym' in relocation
Verify that `strip' terminates gracefully and a correct error message is produced for a relocation encountered with an invalid symbol index. No single relocation number is valid across all targets we support, so pick a few numbers to choose from depending on the target. binutils/ * testsuite/binutils-all/strip-14.d: New test. * testsuite/binutils-all/strip-14rel.s: New test source. * testsuite/binutils-all/strip-14rela.s: New test source. * testsuite/binutils-all/strip-14mips64.s: New test source. * testsuite/binutils-all/objcopy.exp: Run the new test.
Diffstat (limited to 'binutils/maybe-ranlib.c')
0 files changed, 0 insertions, 0 deletions