From e7a2059d2adeba4cf7676a3e43e4a9cd7a366345 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 5631ca23651..aec669853f0 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 7ac15f3580f..59e77c4528f 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.30.2