Add a testcase for PR ld/19162
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / eh-group.exp
index 59e77c4528f3830238167a533b884d2b343077f9..063ad987c84fe3ddae977c56dfec94790166a48c 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for .eh_frame entries to a removed section.
-#   Copyright 2008  Free Software Foundation, Inc.
+#   Copyright (C) 2008-2016 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
 # executable trying to create .eh_frame_hdr.  It needs a separate .exp file due
 # to the requirement of two `ld' runs.
 
-# Exclude non-ELF targets.
-
-if ![is_elf_format] {
-    return
-}
-
 # Exclude non-CFI (such as ia64) targets.
 
 if {![check_as_cfi]} {
@@ -64,7 +58,7 @@ if [is_elf64 "tmpdir/eh-group1size.o"] {
 
 set build_tests_ld [list                       \
   [list "Build eh-group1.o"                    \
-   "-r" "$as_options"                          \
+   "-r" "" "$as_options"                       \
    {eh-group1.s eh-group2.s} {} "eh-group.o"]  \
 ]
 
This page took 0.024909 seconds and 4 git commands to generate.