expression line. Removing the extra semicolons makes both ld and
ldd accept the link script generated, although ldd produces a wrong
object file on arm64; ok kettenis@ deraadt@
SECTIONS {
.text : ALIGN($PAGE_SIZE) {
- LONG($PAD);
+ LONG($PAD)
. += $RANDOM1;
. = ALIGN($PAGE_SIZE);
endboot = .;
} :text =$PAD
.rodata : {
- LONG($PAD);
+ LONG($PAD)
. += $RANDOM3;
. = ALIGN(16);
*(.rodata .rodata.*)
} :rodata =$PAD
.data : {
- LONG($PAD);
+ LONG($PAD)
. = . + $RANDOM4; /* fragment of page */
. = ALIGN(16);
*(.data .data.*)