aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-srec
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-02-09 08:18:54 +0000
committerAlan Modra <amodra@gmail.com>2011-02-09 08:18:54 +0000
commit2893311c839d2e9789c8d1a80ffa651b27a61f93 (patch)
tree3132b570284bbaddf2a67877b0a36bc1963bebbb /ld/testsuite/ld-srec
parent425b145b6ec65eefa2c23131c7c9997f08ebf88c (diff)
downloadgdb-2893311c839d2e9789c8d1a80ffa651b27a61f93.zip
gdb-2893311c839d2e9789c8d1a80ffa651b27a61f93.tar.gz
gdb-2893311c839d2e9789c8d1a80ffa651b27a61f93.tar.bz2
* ld-elfvsb/elfvsb.exp: Don't run any non-PIC tests on powerpc*-linux.
* ld-gc/gc.exp: Ensure powerpc64 test continues to fail. * ld-srec/srec.exp: Don't edit toc on powerpc64.
Diffstat (limited to 'ld/testsuite/ld-srec')
-rw-r--r--ld/testsuite/ld-srec/srec.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index 0a3dc44..cb01f3f 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -271,6 +271,10 @@ proc run_srec_test { test objs } {
set flags "$flags -no-relax"
}
+ if [istarget powerpc64*-*-*] {
+ set flags "$flags --no-toc-optimize"
+ }
+
if { ![ld_simple_link $ld tmpdir/sr1 "$flags $objs"] \
|| ![ld_simple_link $ld tmpdir/sr2.sr "$flags --oformat srec $objs"] } {
fail $test