mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
c3614cffc8
This patch adds some --no-tls-optimize tests and performs some of the existing dynamic tests with tls markers in order to catch any regression in PLT counting. * testsuite/ld-powerpc/tlsexe.r: Adjust for added TLSMARK symbol. * testsuite/ld-powerpc/tlsexe32.r: Likewise. * testsuite/ld-powerpc/tlsso.r: Likewise. * testsuite/ld-powerpc/tlsso32.r: Likewise. * testsuite/ld-powerpc/tls32no.d, * testsuite/ld-powerpc/tls32no.g: New test files. * testsuite/ld-powerpc/tlsexe32no.d, * testsuite/ld-powerpc/tlsexe32no.g, * testsuite/ld-powerpc/tlsexe32no.r: New test files. * testsuite/ld-powerpc/tlsexeno.d, * testsuite/ld-powerpc/tlsexeno.g, * testsuite/ld-powerpc/tlsexeno.r: New test files. * testsuite/ld-powerpc/tlsexetocno.d, * testsuite/ld-powerpc/tlsexetocno.g: New test files. * testsuite/ld-powerpc/tlsno.d, * testsuite/ld-powerpc/tlsno.g: New test files. * testsuite/ld-powerpc/tlstocno.d, * testsuite/ld-powerpc/tlstocno.g: New test files. * testsuite/ld-powerpc/powerpc.exp: Run new tests.
14 lines
304 B
Plaintext
14 lines
304 B
Plaintext
#source: tls32.s
|
|
#as: -a32
|
|
#ld: --no-tls-optimize tmpdir/libtlslib32.so
|
|
#objdump: -sj.got
|
|
#target: powerpc*-*-*
|
|
|
|
.*
|
|
|
|
Contents of section \.got:
|
|
.* (0+01 f+8000 0+ 0+|010+ 0080f+ 0+ 0+) .*
|
|
.* (0+ 0+ 0+01 f+801c|0+ 0+ 010+ 1c80f+) .*
|
|
.* (f+902c 0+01 0+ 018102dc|2c90f+ 010+ 0+ dc028101) .*
|
|
.* 0+ 0+ .*
|