summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/pic-reloc-4.d
blob: 0e4357086a274c2f8136513c378a7885e364c2dc (plain)
1
2
3
4
5
6
7
8
9
#name: MIPS PIC relocation 4
#ld: -shared -T pic-reloc-absolute-hi.ld
#target: [check_shared_lib_support]
#source: pic-reloc-j.s
#error: \A[^\n]*: in function `foo':\n
#error:   \(\.text\+0x0\): relocation R_MIPS_26 against `bar' cannot be used when making a shared object; recompile with -fPIC\n
#error:   \(\.text\+0x8\): relocation R_MIPS_26 against `bar' cannot be used when making a shared object; recompile with -fPIC\n
#error:   \(\.text\+0x0\): relocation truncated to fit: R_MIPS_26 against `bar'\n
#error:   \(\.text\+0x8\): relocation truncated to fit: R_MIPS_26 against `bar'\Z