# Test for proper diagnosis of overflowed memory regions.
-# Copyright 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008-2019 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
load_lib ld-lib.exp
+if [is_aout_format] {
+ return
+}
+
set old_ldflags $LDFLAGS
if { [istarget spu*-*-*] } {
- set LDFLAGS "$LDFLAGS --no-overlays"
+ set LDFLAGS "$LDFLAGS --local-store 0:0 --no-overlays"
}
set test_list [lsort [glob -nocomplain $srcdir/$subdir/include*.d]]
verbose $test_name
run_dump_test $test_name
}
+
set LDFLAGS $old_ldflags