diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-22 16:16:09 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-22 16:16:09 +0000 |
commit | a4bfc2204c762a2c09543d91f78d5096f02aefb6 (patch) | |
tree | 4869e77f7baafecc1ba21e76f4327b03da8f40b4 /sys/arch/loongson/conf | |
parent | 0c7dae7936756e16b5ef3ec71172ae4e50fb20ec (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.script | 2 |
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) } |