script (note that the amd64 linker script is currently not used).
Discussed with deraadt@
-/* $OpenBSD: kern.ldscript,v 1.2 2013/03/21 15:50:28 deraadt Exp $ */
+/* $OpenBSD: kern.ldscript,v 1.3 2013/12/28 17:57:14 miod Exp $ */
/*
* Copyright (c) 2009 Tobias Weingartner <weingart@tepid.org>
rodata PT_LOAD;
data PT_LOAD;
bss PT_LOAD;
+ openbsd_randomize 0x65a3dbe6; /* PT_OPENBSD_RANDOMIZE */
}
/*
-/* $OpenBSD: ld.script,v 1.1 2013/08/16 19:52:08 kettenis Exp $ */
+/* $OpenBSD: ld.script,v 1.2 2013/12/28 17:57:14 miod Exp $ */
/*
* Copyright (c) 2013 Mark Kettenis <kettenis@openbsd.org>
{
text PT_LOAD;
data PT_LOAD;
+ openbsd_randomize 0x65a3dbe6; /* PT_OPENBSD_RANDOMIZE */
}
SECTIONS