From f0d0df634e90b963526cea4a78d8ff7201dc5369 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 7 May 2009 13:44:43 +0000 Subject: [PATCH] * ld-elf/eh-group.exp: Only run these tests for ELF based targets. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elf/eh-group.exp | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5631ca2365..aec669853f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-05-07 Nick Clifton + + * ld-elf/eh-group.exp: Only run these tests for ELF based + targets. + 2009-05-05 Paul Brook * 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 7ac15f3580..59e77c4528 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]} { -- 2.11.0