diff options
author | Alan Modra <amodra@gmail.com> | 2019-10-07 13:34:40 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-10-07 13:34:40 +1030 |
commit | c3614cffc85be28c07ff5320fe5554e6717ee87c (patch) | |
tree | 833ca19c3da24cf9853baccdc9e685344f9ca553 /ld/testsuite/ld-powerpc/tlsno.g | |
parent | 7d04a20ae4af0f1f6e75ec642413c27de4c1e1b8 (diff) | |
download | gdb-c3614cffc85be28c07ff5320fe5554e6717ee87c.zip gdb-c3614cffc85be28c07ff5320fe5554e6717ee87c.tar.gz gdb-c3614cffc85be28c07ff5320fe5554e6717ee87c.tar.bz2 |
PowerPC TLS tests
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.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsno.g')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsno.g | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsno.g b/ld/testsuite/ld-powerpc/tlsno.g new file mode 100644 index 0000000..1e6b77d --- /dev/null +++ b/ld/testsuite/ld-powerpc/tlsno.g @@ -0,0 +1,16 @@ +#source: tls.s +#source: tlslib.s +#as: -a64 +#ld: --no-tls-optimize +#objdump: -sj.got +#target: powerpc64*-*-* + +.* + +Contents of section \.got: +.* (0+ 10018200 0+ 0+01|00820110 0+ 010+ 0+) .* +.* (f+ f+8000 f+ f+8018|0080f+ f+ 1880f+ f+) .* +.* (0+ 0+01 f+ f+8078|010+ 0+ 7880f+ f+) .* +.* (f+ f+8058 0+ 0+01|5880f+ f+ 010+ 0+) .* +.* (f+ f+8040 f+ f+9060|4080f+ f+ 6090f+ f+) .* +.* (0+ 0+01|010+ 0+) 0+ 0+ .* |