[PATCH] add FreeBSD-specific `ld' emulations

David O'Brien obrien@FreeBSD.org
Sun Feb 24 10:30:00 GMT 2002


On Sun, Feb 24, 2002 at 10:09:36AM -0300, Alexandre Oliva wrote:
> linker script used by gcc, for emulation elf_i386, no longer searches
> for libraries in /lib or /usr/lib after this change.  This change in
> GCC fixed the problem, but I'm not sure it's the way to go.  Is it?

    -#define LINK_SPEC "-m elf_i386 \
    +#define LINK_SPEC "-m elf_i386_fbsd \

I am starting to think the `-m' should be totally removed and rely on the
default emulation.  The problem with leaving things as-is; or changing
them is it forces the user to upgrade their Binutils installation.  For
GCC 3.2 most users will probably(maybe) have Binutils 2.12.0 or later
installed.  But I am not sure what is the most sensable value for 3.1.0,
or even 3.0.5 (should there be one).



More information about the Binutils mailing list