Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-mips-elf / pic-reloc-6.d
blob8a8b5501e926edd852bb36c40226c5a963fada41
1 #name: MIPS PIC relocation 6 (MIPS16)
2 #ld: -shared -T pic-reloc-tls.ld
3 #target: [check_shared_lib_support]
4 #as: -mips16
5 #error: \A[^\n]*: in function `foo':\n
6 #error: \(\.text\+0x0\): relocation R_MIPS16_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC\n
7 #error: \(\.text\+0x8\): relocation R_MIPS16_HI16 against `bar' cannot be used when making a shared object; recompile with -fPIC\n
8 #error: \(\.text\+0x10\): relocation R_MIPS16_TLS_TPREL_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC\n
9 #error: \(\.text\+0x14\): relocation R_MIPS16_TLS_TPREL_LO16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC\n
10 #error: \(\.text\+0x18\): relocation R_MIPS16_TLS_TPREL_HI16 against `global_tls' cannot be used when making a shared object; recompile with -fPIC\n
11 #error: \(\.text\+0x1c\): relocation R_MIPS16_TLS_TPREL_LO16 against `global_tls' cannot be used when making a shared object; recompile with -fPIC\Z