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.
30 lines
980 B
R
30 lines
980 B
R
|
|
Relocation section '\.rel\.dyn' at offset .* contains .*:
|
|
* Offset * Info * Type * Sym\. Value * Sym\. Name
|
|
0+00000 * 0+ * R_MIPS_NONE *
|
|
*Type2: R_MIPS_NONE *
|
|
*Type3: R_MIPS_NONE *
|
|
0+a2000 * [^ ]*7e * R_MIPS_COPY * 0+a2000 * extd2
|
|
*Type2: R_MIPS_NONE *
|
|
*Type3: R_MIPS_NONE *
|
|
0+a2018 * [^ ]*7e * R_MIPS_COPY * 0+a2018 * extd3
|
|
*Type2: R_MIPS_NONE *
|
|
*Type3: R_MIPS_NONE *
|
|
0+a1000 * [^ ]*03 * R_MIPS_REL32 * 0+00000 * extd1
|
|
*Type2: R_MIPS_64 *
|
|
*Type3: R_MIPS_NONE *
|
|
0+a1014 * [^ ]*03 * R_MIPS_REL32 * 0+00000 * extd4
|
|
*Type2: R_MIPS_64 *
|
|
*Type3: R_MIPS_NONE *
|
|
|
|
Relocation section '\.rel\.plt' at offset .* contains .*:
|
|
* Offset * Info * Type * Sym\. Value * Sym\. Name
|
|
0+81010 * [^ ]*7f * R_MIPS_JUMP_SLOT * 0+430a0 * extf4
|
|
*Type2: R_MIPS_NONE *
|
|
*Type3: R_MIPS_NONE *
|
|
0+81018 * [^ ]*7f * R_MIPS_JUMP_SLOT * 0+00000 * extf5
|
|
*Type2: R_MIPS_NONE *
|
|
*Type3: R_MIPS_NONE *
|
|
0+81020 * [^ ]*7f * R_MIPS_JUMP_SLOT * 0+00000 * extf3
|
|
*Type2: R_MIPS_NONE *
|
|
*Type3: R_MIPS_NONE *
|