old-cross-binutils/ld/testsuite/ld-cris/badgotr1.d
2008-11-24 02:02:57 +00:00

11 lines
532 B
Makefile

#source: gotrel1.s
#as: --pic --underscore --em=criself
#ld: -m crislinux -shared
#objdump: -dr
#error: \A[^\nc][^\n]*o: uses _-prefixed [^\nc]*\n[^\nc][^\n]* failed to merge [^\n]*\n[^\nc][^\n]* no GOT [^\n]*\n[^\nc][^\n]* Bad value\Z
# The error regex above is supposed to not match if we get a
# SEGV, in which case we'll see "child killed: segmentation
# violation", supposedly at the beginning (seen) or end (in
# theory) of it. The input ELF type (with underscores on
# symbols) mismatches the output type (no underscores).