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
This commit is contained in:
Andrew Turner 2016-09-03 17:23:24 +00:00
parent 1403e695b7
commit 6f0c70d446
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305355

View File

@ -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) }