[PATCH][GOLD] Fix some issues in building ARM Linux kernel with gold.

Matt Rice ratmice@gmail.com
Tue Mar 30 23:17:00 GMT 2010


On Tue, Mar 30, 2010 at 1:58 AM, Doug Kwan (關振德) <dougkwan@google.com> wrote:

> It adds new options -EL, -EB,
> --no-warn-mismatch and -p.  The -p option really does nothing and is
> provided for compatibility with ld.

Hey Doug,

could you maybe add the long version of -p it looks to me like it is
'-no-pipeline-knowledge'

I don't suppose you know which toolchains out there require this -p
option (to actually do something)
and if they are still in use (iirc its been 10 years since this option
did anything in gnu ld),
I had implemented the solaris version of -p (a different option, under
a different name due to this clash, solaris unfortunately provides no
long option equivalent),

anyhow, the reason i ask is one potential deprecation process could be
switching the kernel to pass the long option then deprecate -p freeing
up the short option for later reclaimation, this might not work if any
of these mystery toolchains implement -p without the
-no-pipeline-knowledge option
but then if someone gets -no-pipeline-knowledge unrecognized argument
we'll know that we are at least passing this option for some good
reason.
i'm not really sure what the effects of outright removal would be were
the option required so, this less invasive change of moving to the
long option
would at least give people an error message

of you I'm just asking for the long option, and if you have further
info on this to pass it along, and if you think this sounds good i can
send a patch to the kernel switching to the long option.



More information about the Binutils mailing list