This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Undefined weak symbols in shared libraries
On Tue, Jul 29, 2008 at 08:40:03AM +0100, Nick Clifton wrote:
> If you need a cross compiler why not put the test in the gcc testsuite ?
>
> Answer: because it is testing the linker not the compiler. But I think
> that the execution tests in the gcc testsuite should be considered to be
> toolchain tests rather then just compiler tests and hence it is
> reasonable to include checks on the linker's behaviour. Besides there
> already are linker-feature tests in the gcc testsuite, so there is a
> precedent.
Alternate answer: because the linker testsuite already has a handy
list of ELF targets. It also has code for running objdump/readelf,
which is still useful on executed tests.
--
Daniel Jacobowitz
CodeSourcery