From a4bfc2204c762a2c09543d91f78d5096f02aefb6 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 22 Sep 2015 16:16:09 +0000 Subject: Make sure the openbsd.randomdata section is located before the edata symbol. --- sys/arch/loongson/conf/ld.script | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/arch/loongson/conf') diff --git a/sys/arch/loongson/conf/ld.script b/sys/arch/loongson/conf/ld.script index 5c5ad0f2489..4b58a5c08eb 100644 --- a/sys/arch/loongson/conf/ld.script +++ b/sys/arch/loongson/conf/ld.script @@ -9,6 +9,8 @@ SECTIONS .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } _gp = ALIGN(16) + 0x7ff0; .data : { *(.data .data.* .gnu.linkonce.d.*) } + .openbsd.randomdata : + { *(.openbsd.randomdata) } PROVIDE (edata = .); .sbss : { *(.sbss .sbss.* .gnu.linkonce.sb.* .scommon) } .bss : { *(.bss .bss.* .gnu.linkonce.b.* COMMON) } -- cgit v1.2.3