This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: LDSCRIPTS
Ian Lance Taylor <ian@airs.com> writes:
> John Pierce <john.w.pierce@gmail.com> writes:
>
> > I have built an x86_64 single lib system and in my
> > ldscripts dir there are 386 scripts. I want to remove those scripts
> > leaving the x86_64 scripts.
>
> Go ahead. At worst you will be unable to link 386 code, but I assume
> you are prepared for that eventuality.
I should add that for the default target the linker script is compiled
into the linker binary itself. The files in ldscripts are only used
for non-default targets (as selected by a -m option). Removing or
editing the files in the ldscripts directory for the default target
will have no effect.
Ian