From 32973194de3104bbe435ad86979cd5523d2c742f Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Thu, 2 Mar 2017 16:03:04 +0000 Subject: [PATCH] Use zeroes for filling holes in .text In paged environments, this is more likely to cause a fault than using nops, and the resulting disassembly is shorter. Signed-off-by: Andrew Cooper --- arch/x86/link.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/link.lds.S b/arch/x86/link.lds.S index 1d4079b..4f7eaf5 100644 --- a/arch/x86/link.lds.S +++ b/arch/x86/link.lds.S @@ -36,7 +36,7 @@ SECTIONS .text : { *(.text) - } :load = 0x9090 + } :load = 0 .data : { *(.data) -- 2.39.5