Garbage collecting debug sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-gc / gc.exp
index 7a59ad3365dcf1c23848b540664e935509f85fc1..58f3a2ae07e0051a3ae48d564eb2b62399bea727 100644 (file)
@@ -1,6 +1,5 @@
 # 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.
 #
@@ -102,6 +101,9 @@ test_gc "Check --gc-section/-r/-u" "gcrel" $ld "-r --gc-sections -u used_func"
 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 ""
@@ -131,3 +133,8 @@ if { [is_remote host] || [which $CC] != 0 } {
        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"
+}
This page took 0.023232 seconds and 4 git commands to generate.