On Wed, 2006-09-06 at 15:00 -0700, Michael Eager wrote:
> GCC passes a linker script to the linker for some
> targets (e.g., powerpc-eabi with -mads).  If you specify a
> linker script using -Wl,-T,script.ld, you get both
> passed to the linker and there may be conflicts.
> 
> Is there any option to GCC which says to not pass
> the predefined linker script to the linker?

sysv4.h has "%{!Wl,-T*: %{!T*: %(link_start) }}" which should mean don't
do link_start (which contains the -T for -mads) when supplying -T or
-Wl,-T.  Now is it really working is different story.

Thanks,
Andrew Pinski

Reply via email to