Re: [U-Boot] Makefile: Fix linking with modern binutils

2016-12-15 Thread Joel Stanley
On Tue, Dec 13, 2016 at 10:51 PM, Tom Rini wrote: > On Tue, Dec 13, 2016 at 03:31:24PM +1030, Joel Stanley wrote: >> Hello Tom, >> >> On Sat, Dec 10, 2016 at 12:53 AM, Tom Rini wrote: >> >> -LDFLAGS_u-boot += $(LDFLAGS_FINAL) >> >> +# Avoid Not enough room

Re: [U-Boot] Makefile: Fix linking with modern binutils

2016-12-13 Thread Måns Rullgård
Joel Stanley writes: > Hello Tom, > > On Sat, Dec 10, 2016 at 12:53 AM, Tom Rini wrote: >>> -LDFLAGS_u-boot += $(LDFLAGS_FINAL) >>> +# Avoid Not enough room for program headers on binutils 2.28 onwards. >>> +# Flag was introduced in 2.26 >>> +LDFLAGS_u-boot

Re: [U-Boot] Makefile: Fix linking with modern binutils

2016-12-13 Thread Tom Rini
On Tue, Dec 13, 2016 at 03:31:24PM +1030, Joel Stanley wrote: > Hello Tom, > > On Sat, Dec 10, 2016 at 12:53 AM, Tom Rini wrote: > >> -LDFLAGS_u-boot += $(LDFLAGS_FINAL) > >> +# Avoid Not enough room for program headers on binutils 2.28 onwards. > >> +# Flag was introduced in

Re: [U-Boot] Makefile: Fix linking with modern binutils

2016-12-13 Thread Joel Stanley
Hello Tom, On Sat, Dec 10, 2016 at 12:53 AM, Tom Rini wrote: >> -LDFLAGS_u-boot += $(LDFLAGS_FINAL) >> +# Avoid Not enough room for program headers on binutils 2.28 onwards. >> +# Flag was introduced in 2.26 >> +LDFLAGS_u-boot += $(LDFLAGS_FINAL) \ >> + $(call

Re: [U-Boot] Makefile: Fix linking with modern binutils

2016-12-09 Thread Tom Rini
On Thu, Dec 08, 2016 at 02:22:51PM +1100, Joel Stanley wrote: > Since Binutils 1a9ccd70f9a7[1] u-boot will not link targets that set > CONFIG_SYS_TEXT_BASE=0 with the following error: > > LD u-boot > arm-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try > linking