# Test basic linker script functionality
# By Ian Lance Taylor, Cygnus Support
-# Copyright 1999, 2000, 2001, 2002, 2004, 2006, 2007
+# Copyright 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2009
# Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
} else {
check_script
}
+
+set test_script_list [glob $srcdir/$subdir/region-alias-*.t]
+
+foreach test_script $test_script_list {
+ if ![ld_simple_link $ld tmpdir/script "$flags -T $test_script tmpdir/script.o"] {
+ xfail "REGION_ALIAS: $test_script"
+ } else {
+ xpass "REGION_ALIAS: $test_script"
+ }
+}