Date: Sat, 3 Sep 2016 17:23:24 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r305355 - head/sys/conf Message-ID: <201609031723.u83HNOjX062212@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Sat Sep 3 17:23:24 2016 New Revision: 305355 URL: https://svnweb.freebsd.org/changeset/base/305355 Log: Explicitly include all .rodata.* sections in the kernel .rodata. This helps link the kernel with lld as it will then put all these into a single .rodata section. MFC after: 1 week Sponsored by: ABT Systems Ltd Modified: head/sys/conf/ldscript.arm64 Modified: head/sys/conf/ldscript.arm64 ============================================================================== --- head/sys/conf/ldscript.arm64 Sat Sep 3 15:28:09 2016 (r305354) +++ head/sys/conf/ldscript.arm64 Sat Sep 3 17:23:24 2016 (r305355) @@ -18,7 +18,7 @@ SECTIONS _etext = .; PROVIDE (etext = .); .fini : { *(.fini) } =0x9090 - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } .rodata1 : { *(.rodata1) } .interp : { *(.interp) } .hash : { *(.hash) }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609031723.u83HNOjX062212>