6870500c04
* elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the same symbol by increasing r_offset. (sort_dynamic_relocs_64): Likewise. Fix comparisons between very large and very small symbol indexes. ld/testsuite/ * ld-mips-elf/tlslib-o32-hidden.got: Sort relocations against the same symbol in order of increasing r_offset. * ld-mips-elf/tls-multi-got-1.got: Likewise. * ld-mips-elf/tls-hidden3.r: Likewise. * ld-mips-elf/tls-hidden4.r: Likewise.
13 lines
493 B
R
13 lines
493 B
R
|
|
Relocation section '\.rel\.dyn' at offset .* contains 6 entries:
|
|
Offset Info Type Sym\.Value Sym\. Name
|
|
00000000 00000000 R_MIPS_NONE
|
|
#
|
|
# The order of the next four entries doesn't matter. The important thing
|
|
# is that there is exactly one entry per GOT TLS slot.
|
|
#
|
|
00090020 0000002f R_MIPS_TLS_TPREL3
|
|
00090024 0000002f R_MIPS_TLS_TPREL3
|
|
00090028 0000002f R_MIPS_TLS_TPREL3
|
|
0009002c 0000002f R_MIPS_TLS_TPREL3
|
|
00090030 .*03 R_MIPS_REL32 00000000 undef
|