This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: is_elf_format usage in ld testsuite?
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Andreas Tobler <andreast-list at fgznet dot ch>
- Cc: binutils at sourceware dot org
- Date: Thu, 3 Nov 2011 22:20:10 -0400 (EDT)
- Subject: Re: is_elf_format usage in ld testsuite?
- References: <4EB22BFE.5070707@fgznet.ch>
On Thu, 3 Nov 2011, Andreas Tobler wrote:
> 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?
Some of those tests require the target to support shared
libraries, which is not true for all binutils ELF targets.
brgds, H-P