]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commitdiff
Use zeroes for filling holes in .text
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 2 Mar 2017 16:03:04 +0000 (16:03 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 6 Mar 2017 10:55:40 +0000 (10:55 +0000)
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 <andrew.cooper3@citrix.com>
arch/x86/link.lds.S

index 1d4079bdcff4b04f13fa03840dbf9e093829f27f..4f7eaf54bc807ffa3a587bea390d6ce51a86861c 100644 (file)
@@ -36,7 +36,7 @@ SECTIONS
 
         .text : {
                 *(.text)
-        } :load = 0x9090
+        } :load = 0
 
         .data : {
                 *(.data)