binutils-gdb/ld/testsuite/ld-mips-elf/tls-multi-got-1.got
Maciej W. Rozycki 5139cfdb55 MIPS/LD/testsuite: Fix a `tls-multi-got-1-1.s' build failure
Correct a commit ec9ab52c32 ("gas: consistently emit diagnostics for
non-zero data emission to .bss/.struct"),
<https://sourceware.org/ml/binutils/2015-12/msg00073.html> regression:

.../ld/testsuite/ld-mips-elf/tls-multi-got-1-1.s: Assembler messages:
.../ld/testsuite/ld-mips-elf/tls-multi-got-1-1.s:39: Error: attempt to store non-zero value in section `.tbss'
ERROR: -EB -march=mips1 -32 -KPIC .../ld/testsuite/ld-mips-elf/tls-multi-got-1-1.s: assembly failed
UNRESOLVED: Shared library with multiple GOTs and TLS

in MIPS target testing and move `tlsvar_ld' to `.tdata' section, in line
with the remaining local dynamic definitions introduced with the set of
tests added with commit f4e584bd00 ("TLS support for MIPS"),
<https://sourceware.org/ml/binutils/2005-02/msg00607.html>.

	ld/
	* testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
	in `.tdata' section.
	* testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
	* testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
2017-02-01 22:15:32 +00:00

37 lines
1.1 KiB
Plaintext

.*: file format elf32-tradbigmips
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
00000000 R_MIPS_NONE \*ABS\*
0013f800 R_MIPS_TLS_DTPMOD32 \*ABS\*
0014945c R_MIPS_TLS_DTPMOD32 \*ABS\*
0013f808 R_MIPS_TLS_DTPMOD32 tlsvar_gd
0013f80c R_MIPS_TLS_DTPREL32 tlsvar_gd
00149468 R_MIPS_TLS_DTPMOD32 tlsvar_gd
0014946c R_MIPS_TLS_DTPREL32 tlsvar_gd
0013f810 R_MIPS_TLS_TPREL32 tlsvar_ie
00149464 R_MIPS_TLS_TPREL32 tlsvar_ie
00143e88 R_MIPS_REL32 sym_1_9526
#...
00139a64 R_MIPS_REL32 sym_2_8654
Contents of section .got:
122330 00000000 80000000 000d7f58 000d65b4 .*
122340 000d1f64 000d5fd0 000d5a08 000d1980 .*
#...
135bb0 000cf1c4 000e0e08 00000000 80000000 .*
135bc0 00000000 00000000 00000000 00000000 .*
#...
13f7f0 00000000 00000000 00000000 00000000 .*
13f800 00000000 00000000 00000000 00000000 .*
13f810 00000000 00000000 80000000 00000000 .*
#...
149420 00000000 00000000 00000000 00000000 .*
149430 00000000 00000000 00000000 00000000 .*
149440 00000000 00000000 00000000 00000000 .*
149450 00000000 00000000 00000000 00000000 .*
149460 00000000 00000000 00000000 00000000 .*
#pass