Re: [PATCH] [1/5] kbuild: Fix ld-option Makefile macro to reallywork

From: Sam Ravnborg
Date: Tue Sep 15 2009 - 11:32:20 EST


On Tue, Sep 15, 2009 at 03:01:47PM +0200, Andi Kleen wrote:
> > So now we pass the option direct to the linker rather than via gcc -wl.
> > I assume this breaks the other 8 uses of ld-option in the kernel?
> >
> > Or does ld understand the -wl,... syntax?
>
> It does not. But -X is passed directly to the linker, not via gcc,
> so it needs to probe ld directly
>
> The right fix is probably an new macro that works with ld (and
> ideally rename this one which is confusingly named) I'll
> send an updated patch.
Thanks.
Please do remember to update the documentation
in Documentation/kbuild/makefiles.txt.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/