1*56bb7041Schristos #name: MIPS PIC relocation 6 (MIPS16) 2*56bb7041Schristos #ld: -shared -T pic-reloc-tls.ld 3*56bb7041Schristos #target: [check_shared_lib_support] 4*56bb7041Schristos #as: -mips16 5*56bb7041Schristos #error: \A[^\n]*: in function `foo':\n 6*56bb7041Schristos #error: \(\.text\+0x0\): relocation R_MIPS16_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC\n 7*56bb7041Schristos #error: \(\.text\+0x8\): relocation R_MIPS16_HI16 against `bar' cannot be used when making a shared object; recompile with -fPIC\n 8*56bb7041Schristos #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*56bb7041Schristos #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*56bb7041Schristos #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*56bb7041Schristos #error: \(\.text\+0x1c\): relocation R_MIPS16_TLS_TPREL_LO16 against `global_tls' cannot be used when making a shared object; recompile with -fPIC\Z 12