is_elf_format usage in ld testsuite?

Hans-Peter Nilsson hp@bitrange.com
Fri Nov 4 02:20:00 GMT 2011


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



More information about the Binutils mailing list