1*56bb7041Schristos #name: MIPS PIC relocation 0 2*56bb7041Schristos #ld: -shared -T pic-reloc-ordinary.ld 3*56bb7041Schristos #target: [check_shared_lib_support] 4*56bb7041Schristos #source: pic-reloc-lui.s 5*56bb7041Schristos #error: \A[^\n]*: in function `foo':\n 6*56bb7041Schristos #error: \(\.text\+0x0\): relocation R_MIPS_HI16 against `bar' cannot be used when making a shared object; recompile with -fPIC\n 7*56bb7041Schristos #error: \(\.text\+0x8\): relocation R_MIPS_HI16 against `bar' cannot be used when making a shared object; recompile with -fPIC\Z 8