1 #source: gotrel1.s 2 #as: --pic --underscore --em=criself 3 #ld: -m crislinux -shared 4 #objdump: -dr 5 #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 6 7 # The error regex above is supposed to not match if we get a 8 # SEGV, in which case we'll see "child killed: segmentation 9 # violation", supposedly at the beginning (seen) or end (in 10 # theory) of it. The input ELF type (with underscores on 11 # symbols) mismatches the output type (no underscores). 12