aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/undefined-warn.d
blob: b43018e79e2fbb2454726367cd4e26a4a87fec09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#objdump: -d --prefix-addresses --show-raw-insn
#name: MIPS undefined reference with --warn-unresolved-symbols
#source: undefined.s
#ld: -e foo --warn-unresolved-symbols
#warning: \A[^\n]*\.o: in function `foo':\n\(\.text\+0x0\): warning: undefined reference to `bar'\Z

.*:     file format .*

Disassembly of section \.text:

# Loaded value must not be 0.
[0-9a-f]+ <[^>]*> 2402.... 	li	v0,[-1-9][0-9]*
	\.\.\.