c5d6fa4495
* elfxx-mips.c (mips_use_local_got_p): New function. (mips_elf_count_got_symbols, mips_elf_calculate_relocation): Use it. (_bfd_mips_elf_check_relocs): Set pointer_equality_needed for GOT and absolute references. ld/testsuite/ * ld-mips-elf/pic-and-nonpic-6-n32.ad, ld-mips-elf/pic-and-nonpic-6-n32.dd, ld-mips-elf/pic-and-nonpic-6-n32.gd, ld-mips-elf/pic-and-nonpic-6-n32.nd, ld-mips-elf/pic-and-nonpic-6-n32.rd, ld-mips-elf/pic-and-nonpic-6-n64.ad, ld-mips-elf/pic-and-nonpic-6-n64.dd, ld-mips-elf/pic-and-nonpic-6-n64.gd, ld-mips-elf/pic-and-nonpic-6-n64.nd, ld-mips-elf/pic-and-nonpic-6-n64.rd, ld-mips-elf/pic-and-nonpic-6-o32.ad, ld-mips-elf/pic-and-nonpic-6-o32.dd, ld-mips-elf/pic-and-nonpic-6-o32.gd, ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/pic-and-nonpic-6-o32.rd: Fix symbol value of extf4. No longer expect extf3, extf4 and extd2 to be in the global GOT.
27 lines
854 B
Text
27 lines
854 B
Text
|
|
Dynamic section at offset .* contains .*:
|
|
* Tag * Type * Name/Value
|
|
0x00000001 \(NEEDED\) .*
|
|
0x00000004 \(HASH\) .*
|
|
0x00000005 \(STRTAB\) .*
|
|
0x00000006 \(SYMTAB\) .*
|
|
0x0000000a \(STRSZ\) .*
|
|
0x0000000b \(SYMENT\) .*
|
|
0x70000016 \(MIPS_RLD_MAP\) * 0x80000
|
|
0x00000015 \(DEBUG\) * 0x0
|
|
0x00000003 \(PLTGOT\) * 0xa0000
|
|
0x00000011 \(REL\) * 0x43000
|
|
0x00000012 \(RELSZ\) * 40 \(bytes\)
|
|
0x00000013 \(RELENT\) * 8 \(bytes\)
|
|
0x70000001 \(MIPS_RLD_VERSION\) * 1
|
|
0x70000005 \(MIPS_FLAGS\) * NOTPOT
|
|
0x70000006 \(MIPS_BASE_ADDRESS\) * 0x40000
|
|
0x7000000a \(MIPS_LOCAL_GOTNO\) * 5
|
|
0x70000011 \(MIPS_SYMTABNO\) * 12
|
|
0x70000012 \(MIPS_UNREFEXTNO\) * .*
|
|
0x70000013 \(MIPS_GOTSYM\) * 0x8
|
|
0x00000014 \(PLTREL\) * REL
|
|
0x00000017 \(JMPREL\) * 0x43028
|
|
0x00000002 \(PLTRELSZ\) * 24 \(bytes\)
|
|
0x70000032 \(MIPS_PLTGOT\) * 0x81000
|
|
0x00000000 \(NULL\) * 0x0
|