# Expect script for ld-gc tests
-# Copyright 2008, 2009, 2010, 2012
-# Free Software Foundation, Inc.
+# Copyright (C) 2008-2015 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
run_dump_test "noent"
run_dump_test "abi-note"
run_dump_test "start"
+if { [is_elf_format] } then {
+ run_dump_test "all-debug-sections"
+}
if { [is_elf_format] && [check_shared_lib_support] } then {
set gasopt ""
ld_compile "$CC $CFLAGS $cflags" $srcdir/$subdir/pr13683.c tmpdir/pr13683.o
run_dump_test "pr13683"
}
+
+if { [is_remote host] || [which $CC] != 0 } {
+ ld_compile "$CC $CFLAGS $cflags" $srcdir/$subdir/pr14265.c tmpdir/pr14265.o
+ run_dump_test "pr14265"
+}