This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
is_elf_format usage in ld testsuite?
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: binutils at sourceware dot org
- Date: Thu, 03 Nov 2011 06:51:58 +0100
- Subject: is_elf_format usage in ld testsuite?
Hi all,
while getting an overview of the ld testsuite on powerpc64 FreeBSD I
found the following.
ld-elf/binutils.exp:
---
# Make sure that binutils can correctly handle ld output in ELF.
if { ![istarget *-*-linux*]
&& ![istarget *-*-gnu*]} {
return
}
---
These tests run fine under FreeBSD for example. But these targets are
not on the test above.
Is there a special reason why we do not check with the is_elf_format
proc instead?
There are a few more testcases with this pattern.
I can either add FreeBSD to the existing check or replace the test with
the is_elf_format proc.
What do you think?
Thank you for any insight.
Andreas