Hi H.J.,

> When GNU binutils is configured with --enable-targets=all on Linux,
> "ld -V" will report both elf_x86_64_sol2 and elf_i386_sol2 as supported
> emulations.  But they should only be used for Solaris 2 targets.  Check
> for Solaris 2 targets before using sol2 linker emulations.

please leave that to me.  This code can be simplified significantly now:
GCC only supports Solaris 11.4 these days and Solaris 11.4 FCS already
bundled binutils 2.30.  So we can require binutils 2.21+ on Solaris and
the hardcode new emulation names, but error out should someone try to
use an older self-compiled version.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to