aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/gc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-gc/gc.exp')
-rw-r--r--ld/testsuite/ld-gc/gc.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/gc.exp b/ld/testsuite/ld-gc/gc.exp
index 996eac4..7a59ad3 100644
--- a/ld/testsuite/ld-gc/gc.exp
+++ b/ld/testsuite/ld-gc/gc.exp
@@ -32,6 +32,11 @@ if [istarget powerpc64*-*-*] {
set cflags "$cflags -mminimal-toc"
}
+if { [istarget m681*-*-*] || [istarget m68hc1*-*-*] } {
+ # Otherwise tests FAIL due to _.frame
+ set cflags "$cflags -fomit-frame-pointer -mshort"
+}
+
if { [is_remote host] || [which $CC] != 0 } {
ld_compile "$CC -c $CFLAGS $cflags" $srcdir/$subdir/gc.c $objfile
}