svn commit: r291441 - head/sys/conf
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Nov 29 06:40:11 UTC 2015
Author: nwhitehorn
Date: Sun Nov 29 06:40:09 2015
New Revision: 291441
URL: https://svnweb.freebsd.org/changeset/base/291441
Log:
Fix build with new binutils. This gets a working kernel with GCC 5.2 and
binutils 2.24. Without this, the self-relocation code in locore64.S was
failing due to a misaligned TOC section.
MFC after: 2 weeks
Modified:
head/sys/conf/ldscript.powerpc64
Modified: head/sys/conf/ldscript.powerpc64
==============================================================================
--- head/sys/conf/ldscript.powerpc64 Sun Nov 29 06:16:25 2015 (r291440)
+++ head/sys/conf/ldscript.powerpc64 Sun Nov 29 06:40:09 2015 (r291441)
@@ -69,6 +69,7 @@ SECTIONS
.toc1 : ALIGN(8) { *(.toc1) }
.opd : ALIGN(8) { KEEP (*(.opd)) }
.branch_lt : ALIGN(8) { *(.branch_lt) }
+ . = ALIGN(4096);
.got : ALIGN(8) { __tocbase = .; *(.got .toc) }
.dynamic : { *(.dynamic) }
More information about the svn-src-all
mailing list