summaryrefslogtreecommitdiffstats
path: root/test/stdint
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2016-12-08 13:57:13 +1100
committerJoel Stanley <joel@jms.id.au>2016-12-19 13:29:59 +1030
commitaa7a90f2ff1e807e057c6dbb0d0c579174c75acc (patch)
treeab29804b5041107bdc15a0711437fdd7549237f6 /test/stdint
parentdeddff7930e690edaf229c411c3bf5a7bc4990ed (diff)
downloadtalos-obmc-uboot-aa7a90f2ff1e807e057c6dbb0d0c579174c75acc.tar.gz
talos-obmc-uboot-aa7a90f2ff1e807e057c6dbb0d0c579174c75acc.zip
Makefile: Fix linking with modern binutils
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 with -N arm-linux-gnueabi-ld.bfd: final link failed: Bad value The issue can reproduced the bad binutils and the rock2_defconfig target. This issue was also encountered by the powerpc kernel[2], with the fix being to pass --no-dynamic-linker for linkers newer than 2.26 when this flag was introduced. The option tells ld that the PIE or shared lib does not need loaded program headers. Ubuntu Zesty's Binutils 2.27.51.20161202 hits this error. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=1a9ccd70f9a7 [2] https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=ff45000fcb56b5b0f1a14a865d3541746d838a0a Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'test/stdint')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud