summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/conf/ld.script
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/octeon/conf/ld.script')
-rw-r--r--sys/arch/octeon/conf/ld.script4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/octeon/conf/ld.script b/sys/arch/octeon/conf/ld.script
index f31d7f7ba98..97b853e3d14 100644
--- a/sys/arch/octeon/conf/ld.script
+++ b/sys/arch/octeon/conf/ld.script
@@ -1,4 +1,4 @@
-/* $OpenBSD: ld.script,v 1.3 2016/07/16 10:41:53 visa Exp $ */
+/* $OpenBSD: ld.script,v 1.4 2017/05/09 15:11:33 visa Exp $ */
OUTPUT_FORMAT("elf64-tradbigmips")
OUTPUT_ARCH(mips)
@@ -11,8 +11,10 @@ SECTIONS
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
_gp = ALIGN(16) + 0x7ff0;
.data : { *(.data .data.* .gnu.linkonce.d.*) }
+ __kernel_randomdata = .;
.openbsd.randomdata :
{ *(.openbsd.randomdata) }
+ __kernel_randomdata_end = .;
PROVIDE (edata = .);
.sbss : { *(.sbss .sbss.* .gnu.linkonce.sb.* .scommon) }
.bss : { *(.bss .bss.* .gnu.linkonce.b.* COMMON) }