mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-04 07:44:22 +08:00
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.
15 lines
635 B
R
15 lines
635 B
R
|
|
Relocation section '\.rel\.dyn' at offset .* contains .*:
|
|
* Offset * Info * Type * Sym\.Value * Sym\. Name
|
|
00000000 * 00000000 * R_MIPS_NONE *
|
|
000a2000 * [^ ]*7e * R_MIPS_COPY * 000a2000 * extd2
|
|
000a2018 * [^ ]*7e * R_MIPS_COPY * 000a2018 * extd3
|
|
000a1000 * [^ ]*03 * R_MIPS_REL32 * 00000000 * extd1
|
|
000a1014 * [^ ]*03 * R_MIPS_REL32 * 00000000 * extd4
|
|
|
|
Relocation section '\.rel\.plt' at offset .* contains .*:
|
|
* Offset * Info * Type * Sym\.Value * Sym\. Name
|
|
00081008 * [^ ]*7f * R_MIPS_JUMP_SLOT * 00043060 * extf4
|
|
0008100c * [^ ]*7f * R_MIPS_JUMP_SLOT * 00000000 * extf5
|
|
00081010 * [^ ]*7f * R_MIPS_JUMP_SLOT * 00000000 * extf3
|