-/* $OpenBSD: ld.script,v 1.5 2017/05/31 19:18:19 deraadt Exp $ */
+/* $OpenBSD: ld.script,v 1.6 2017/06/21 20:08:53 deraadt Exp $ */
/*
* Copyright (c) 2009 Tobias Weingartner <weingart@tepid.org>
__text_load = LOADADDR(.text);
locore0.o(.text)
*(.text .text.*)
- } :text
+ } :text =0xcccccccc
PROVIDE (__etext = .);
PROVIDE (etext = .);
_etext = .;
*(.rodata .rodata.*)
*(.codepatch)
*(.codepatchend)
- } :rodata
+ } :rodata =0xcccccccc
. = ALIGN(0x1000);
__kernel_randomdata_phys = . & 0x7fffffff;
.openbsd.randomdata : AT (__kernel_randomdata_phys)
{
*(.openbsd.randomdata)
- } :rodata :openbsd_randomize
+ } :rodata :openbsd_randomize =0xcccccccc
. = ALIGN(0x1000);
PROVIDE (erodata = .);
_erodata = .;
__data_size = SIZEOF(.data);
__data_load = LOADADDR(.data);
*(.data .data.*)
- } :data
+ } :data =0xcccccccc
. = ALIGN(0x1000);
PROVIDE (edata = .);
_edata = .;
-/* $OpenBSD: ld.script,v 1.6 2017/05/31 19:18:18 deraadt Exp $ */
+/* $OpenBSD: ld.script,v 1.7 2017/06/21 20:08:53 deraadt Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
__text_load = LOADADDR(.text);
locore0.o(.text)
*(.text .text.*)
- } :text
+ } :text =0xcccccccc
PROVIDE (__etext = .);
PROVIDE (etext = .);
_etext = .;
*(.rodata .rodata.*)
*(.codepatch)
*(.codepatchend)
- } :rodata
+ } :rodata =0xcccccccc
. = ALIGN(0x1000);
__kernel_randomdata_phys = . & 0xfffffff;
.openbsd.randomdata : AT (__kernel_randomdata_phys)
{
*(.openbsd.randomdata)
- } :rodata :openbsd_randomize
+ } :rodata :openbsd_randomize =0xcccccccc
. = ALIGN(0x1000);
PROVIDE (erodata = .);
_erodata = .;
__data_size = SIZEOF(.data);
__data_load = LOADADDR(.data);
*(.data .data.*)
- } :data
+ } :data =0xcccccccc
. = ALIGN(0x1000);
PROVIDE (edata = .);
_edata = .;