ELF: Don't check relocations in non-loaded, non-alloced sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / pic-reloc-7.d
CommitLineData
304f09d0
FS
1#name: MIPS PIC relocation 7
2#ld: -shared -T pic-reloc-ordinary.ld
3#target: [check_shared_lib_support]
4#error: \A[^\n]*: in function `foo':\n
5#error: \(\.text\+0x0\): relocation R_(MICRO|)MIPS_HIGHEST against `a local symbol' cannot be used when making a shared object; recompile with -fPIC\n
6#error: \(\.text\+0x4\): relocation R_(MICRO|)MIPS_HIGHER against `a local symbol' cannot be used when making a shared object; recompile with -fPIC\n
7#error: \(\.text\+0x8\): relocation R_(MICRO|)MIPS_HIGHEST against `bar' cannot be used when making a shared object; recompile with -fPIC\n
8#error: \(\.text\+0xc\): relocation R_(MICRO|)MIPS_HIGHER against `bar' cannot be used when making a shared object; recompile with -fPIC\Z
This page took 0.075249 seconds and 4 git commands to generate.