old-cross-binutils/ld/testsuite/ld-cris/badgotr1.d
Hans-Peter Nilsson 1de1cfb15b * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*.
* ld-cris/noglob1.d: Ditto.
	* ld-cris/badgotr1.d: Pass --underscore to gas.
2003-06-16 00:02:36 +00:00

11 lines
470 B
Makefile

#source: gotrel1.s
#as: --pic --underscore
#ld: -m crislinux -shared
#objdump: -dr
#error: ^[^c][^h][^i][^l][^d].* uses _-prefixed .* failed to merge .* no GOT .* Bad value$
# 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).