svn commit: r317146 - stable/11/sys/conf
Andrew Turner
andrew at FreeBSD.org
Wed Apr 19 15:46:36 UTC 2017
Author: andrew
Date: Wed Apr 19 15:46:34 2017
New Revision: 317146
URL: https://svnweb.freebsd.org/changeset/base/317146
Log:
MFC 305355:
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.
Modified:
stable/11/sys/conf/ldscript.arm64
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/conf/ldscript.arm64
==============================================================================
--- stable/11/sys/conf/ldscript.arm64 Wed Apr 19 15:33:24 2017 (r317145)
+++ stable/11/sys/conf/ldscript.arm64 Wed Apr 19 15:46:34 2017 (r317146)
@@ -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) }
More information about the svn-src-all
mailing list