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 /ld/testsuite/ld-elf | |
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.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/eh-group.exp | 6 |
1 files changed, 6 insertions, 0 deletions
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]} { |