summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-09-22 16:16:09 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-09-22 16:16:09 +0000
commita4bfc2204c762a2c09543d91f78d5096f02aefb6 (patch)
tree4869e77f7baafecc1ba21e76f4327b03da8f40b4 /sys/arch/loongson/conf
parent0c7dae7936756e16b5ef3ec71172ae4e50fb20ec (diff)
Make sure the openbsd.randomdata section is located before the edata symbol.
Diffstat (limited to 'sys/arch/loongson/conf')
-rw-r--r--sys/arch/loongson/conf/ld.script2
1 files changed, 2 insertions, 0 deletions
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) }