[U-Boot] [PATCH] config: Always use GNU ld

Otavio Salvador otavio at ossystems.com.br
Sun Aug 5 00:31:47 CEST 2012


On Thu, Aug 2, 2012 at 2:49 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Thursday 02 August 2012 12:19:34 Otavio Salvador wrote:
>> This patch makes sure that we always use the GNU ld. U-Boot uses certain
>> construct e.g. OVERLAY which are not implemented in gold therefore it
>> always needs GNU ld for linking.
>>
>> It works well if default linker in toolchain is GNU ld but in some
>> cases we can have gold to be the default linker and also ship GNU ld
>> but not as default in such cases its called $(PREFIX)ld.bfd, with this
>> patch we make sure that if $(PREFIX)ld.bfd exists than we use that for
>> our ld.
>>
>> This way it does not matter what the default ld is.
>
> Acked-by: Mike Frysinger <vapier at gentoo.org>
> -mike

Wolfgang, I ended not putting you on CC but I think you're the one who
would take this patch, aren't you?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


More information about the U-Boot mailing list