syslinux.ld: don't pad between .got and .data
authorH. Peter Anvin <hpa@zytor.com>
Thu, 13 May 2010 04:22:14 +0000 (21:22 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 13 May 2010 04:22:14 +0000 (21:22 -0700)
Adding padding between .got and .data is unnecessary, and can
cause spurious decompression failures when .data is empty (which it
almost is already...)

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

index 82170a7..ea10211 100644 (file)
@@ -317,8 +317,6 @@ SECTIONS
                __got_end = .;
        }
 
-       . = ALIGN(16);
-
        __data_vma = .;
        __data_lma = __data_vma + __text_lma - __text_vma;
        .data : AT(__data_lma) {