Re: [U-Boot] [PATCH] config: Always use GNU ld
Hi, On Thu, 2 Aug 2012 13:19:34 -0300 Otavio Salvador wrote: > From: Khem Raj > > 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. > > Signed-off-by: Otavio Salvador > Signed-off-by: Khem Raj > --- > config.mk |6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) applied to my staging branch, thanks! Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] config: Always use GNU ld
On Sat, Aug 4, 2012 at 7:31 PM, Otavio Salvador wrote: > On Thu, Aug 2, 2012 at 2:49 PM, Mike Frysinger 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 >> -mike > > Wolfgang, I ended not putting you on CC but I think you're the one who > would take this patch, aren't you? Ping? -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] config: Always use GNU ld
On Thu, Aug 2, 2012 at 2:49 PM, Mike Frysinger 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 > -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: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] config: Always use GNU ld
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 -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot