e7e2196da3
* elfxx-mips.c (mips_elf_calculate_relocation): Correct handling of undefined symbols. ld/testsuite/ * ld-mips-elf/undefined.d: New test. * ld-mips-elf/undefined.s: Source for the new test. * ld-mips-elf/mips-elf.exp: Run the new test.
4 lines
154 B
Makefile
4 lines
154 B
Makefile
#name: MIPS undefined reference
|
|
#source: undefined.s
|
|
#ld: -e foo
|
|
#error: \A[^\n]*\.o: In function `foo':\n\(\.text\+0x0\): undefined reference to `bar'\Z
|