aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/powerpc.exp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-08-05 14:38:10 +0000
committerAlan Modra <amodra@gmail.com>2010-08-05 14:38:10 +0000
commitb3808325c52ab089d28b5bf9b8d9558e8c2fa329 (patch)
tree500d56d64dc25985909918d68d622b93e1621f2e /ld/testsuite/ld-powerpc/powerpc.exp
parentd983b7a0c394e35ab90cb7b92de98963e3996ef1 (diff)
downloadgdb-b3808325c52ab089d28b5bf9b8d9558e8c2fa329.zip
gdb-b3808325c52ab089d28b5bf9b8d9558e8c2fa329.tar.gz
gdb-b3808325c52ab089d28b5bf9b8d9558e8c2fa329.tar.bz2
* ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test.
* ld-powerpc/powerpc.exp: Run it.
Diffstat (limited to 'ld/testsuite/ld-powerpc/powerpc.exp')
-rw-r--r--ld/testsuite/ld-powerpc/powerpc.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp
index 9d0207f..6cb797e 100644
--- a/ld/testsuite/ld-powerpc/powerpc.exp
+++ b/ld/testsuite/ld-powerpc/powerpc.exp
@@ -178,6 +178,8 @@ set ppc64elftests {
"tlsmark"}
{"sym@tocbase" "-shared -melf64ppc" "-a64" {symtocbase-1.s symtocbase-2.s}
{{objdump -dj.data symtocbase.d}} "symtocbase.so"}
+ {"TOC opt" "-melf64ppc" "-a64" {tocopt.s}
+ {{objdump -s tocopt.d}} "tocopt"}
}