diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2011-07-25 01:16:05 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2011-07-25 01:16:05 +0000 |
commit | 4b9dc14e0c15d9c1892c360846db87d4990a9ff5 (patch) | |
tree | a3e27cf6cd45903a07a5ed77b12ee5587209025e /ld/testsuite/ld-mmix/pr12815-1.d | |
parent | 18978b27d62c14b707df1248f44a6847d81fa45a (diff) | |
download | gdb-4b9dc14e0c15d9c1892c360846db87d4990a9ff5.zip gdb-4b9dc14e0c15d9c1892c360846db87d4990a9ff5.tar.gz gdb-4b9dc14e0c15d9c1892c360846db87d4990a9ff5.tar.bz2 |
PR ld/12815
* ld-mmix/pr12815-1.d, ld-mmix/pr12815-1.s, ld-mmix/pr12815-1.ld,
ld-mmix/pr12815-2.d, ld-mmix/pr12815-2.s: New tests.
Diffstat (limited to 'ld/testsuite/ld-mmix/pr12815-1.d')
-rw-r--r-- | ld/testsuite/ld-mmix/pr12815-1.d | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/pr12815-1.d b/ld/testsuite/ld-mmix/pr12815-1.d new file mode 100644 index 0000000..41680b9 --- /dev/null +++ b/ld/testsuite/ld-mmix/pr12815-1.d @@ -0,0 +1,7 @@ +#as: -no-predefined-syms -x +#ld: -e 0x1000 -m elf64mmix -T $srcdir/$subdir/pr12815-1.ld +#error: invalid input relocation.*objcopy.*"-mno-base-addresses".*truncated + +# Check that we emit a meaningful error message rather than SEGV when +# someone attempts linking to the "binary" output format with +# -mbase-addresses in effect. |