diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-04-09 13:42:00 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-04-09 13:42:00 +0100 |
commit | 3f97ba9fc82dbb1bca72fd8a137b2de132348367 (patch) | |
tree | 103114a16d83aec1c5af01d633382ef1422e1bc9 /bfd | |
parent | 9ccfa98b4cbc86ac34734ecf9d35466461c7e34c (diff) | |
download | gdb-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 'bfd')
0 files changed, 0 insertions, 0 deletions