core: fill unused space in .text with NOP not zero
authorH. Peter Anvin <hpa@zytor.com>
Wed, 20 May 2009 04:44:29 +0000 (21:44 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 20 May 2009 04:44:29 +0000 (21:44 -0700)
Fill unused space in the .text section with NOP, not with zero.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/syslinux.ld

index 9149b9b..0d3c9ab 100644 (file)
@@ -192,6 +192,7 @@ SECTIONS
        __text_vma = .;
        __text_lma = __pm_code_lma;
        .text : AT(__text_lma) {
+               FILL(0x90909090)
                __text_start = .;
                *(.text)
                __text_end = .;