summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/pr12815-2.d
blob: 47966a3194f7e858b2629474a5b5d94c4f432ce0 (plain)
1
2
3
4
5
6
7
#as: -no-predefined-syms -x
#ld: -e 0x1000 --defsym bar=0x100000000 -m elf64mmix -T $srcdir/$subdir/pr12815-1.ld
#error: invalid input relocation.*objcopy.*"-no-expand".*truncated

# Check that we emit a meaningful error message rather than SEGV when
# someone attempts linking to the "binary" output format with
# expanding PUSHJ insns, expecting relaxation to work.