diff options
author | Nick Clifton <nickc@redhat.com> | 2009-05-07 13:44:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-05-07 13:44:43 +0000 |
commit | e7a2059d2adeba4cf7676a3e43e4a9cd7a366345 (patch) | |
tree | 85db41c0d96624b8a2175dd9a8fc257b2ffb6717 | |
parent | 41c1f5b52731776f45fb0e6dd5df0a5412fd9651 (diff) | |
download | gdb-e7a2059d2adeba4cf7676a3e43e4a9cd7a366345.zip gdb-e7a2059d2adeba4cf7676a3e43e4a9cd7a366345.tar.gz gdb-e7a2059d2adeba4cf7676a3e43e4a9cd7a366345.tar.bz2 |
* ld-elf/eh-group.exp: Only run these tests for ELF based
targets.
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/eh-group.exp | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5631ca2..aec6698 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-05-07 Nick Clifton <nickc@redhat.com> + + * ld-elf/eh-group.exp: Only run these tests for ELF based + targets. + 2009-05-05 Paul Brook <paul@codesourcery.com> * ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab. diff --git a/ld/testsuite/ld-elf/eh-group.exp b/ld/testsuite/ld-elf/eh-group.exp index 7ac15f3..59e77c4 100644 --- a/ld/testsuite/ld-elf/eh-group.exp +++ b/ld/testsuite/ld-elf/eh-group.exp @@ -29,6 +29,12 @@ # 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]} { |