aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/lib/ld-lib.exp
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2013-11-27 13:43:39 +0000
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>2013-11-27 13:43:39 +0000
commitb35d44f1af711925bfa4344ef00470fee67122f1 (patch)
tree03d44954a4b7467101f69896ca0d21399fdda05a /ld/testsuite/lib/ld-lib.exp
parent0db4ca1856d6131e726434ff67cbe42a5e1f81d1 (diff)
downloadgdb-b35d44f1af711925bfa4344ef00470fee67122f1.zip
gdb-b35d44f1af711925bfa4344ef00470fee67122f1.tar.gz
gdb-b35d44f1af711925bfa4344ef00470fee67122f1.tar.bz2
[ld/testsuite/]
2013-11-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * ld-plugin/lto.exp: Add -ffat-lto-objects. * lib/ld-lib.exp (check_lto_available): Likewise.
Diffstat (limited to 'ld/testsuite/lib/ld-lib.exp')
-rw-r--r--ld/testsuite/lib/ld-lib.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 8df42ae..175449a 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1643,7 +1643,7 @@ proc check_lto_available { } {
set f [open $src "w"]
puts $f ""
close $f
- set status [remote_exec host $CC "-shared -B[pwd]/tmpdir/ld/ -flto -fuse-linker-plugin $src -o $output"]
+ set status [remote_exec host $CC "-shared -B[pwd]/tmpdir/ld/ -flto -ffat-lto-objects -fuse-linker-plugin $src -o $output"]
if { [lindex $status 0] == 0 } {
set lto_available_saved 1
} else {