Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-mips-elf/undefined-warn.d

14 lines
412 B
D
Raw Normal View History

2023-03-06 14:48:14 +01:00
#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]*
\.\.\.