old-cross-binutils/ld/testsuite/ld-mips-elf/tls-hidden4.r
Richard Sandiford 6870500c04 bfd/
* 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.
2006-10-19 13:47:10 +00:00

19 lines
684 B
R

Relocation section '\.rel\.dyn' at offset .* contains .* entries:
Offset Info Type Sym\.Value Sym\. Name
00000000 00000000 R_MIPS_NONE
#
# The order and addresses of the next eight entries don't matter. The
# important thing is that there is exactly one entry per GOT TLS slot
# and that the addresses match those in the .got dump.
#
001c4080 0000002f R_MIPS_TLS_TPREL3
001c4084 0000002f R_MIPS_TLS_TPREL3
001c4088 0000002f R_MIPS_TLS_TPREL3
001c408c 0000002f R_MIPS_TLS_TPREL3
001d00cc 0000002f R_MIPS_TLS_TPREL3
001d00d0 0000002f R_MIPS_TLS_TPREL3
001d00d4 0000002f R_MIPS_TLS_TPREL3
001d00d8 0000002f R_MIPS_TLS_TPREL3
.* R_MIPS_REL32 .*
#pass