[syslinux:pathbased] syslinux.ld: don't pad between .got and .data

syslinux-bot for H. Peter Anvin hpa at zytor.com
Thu May 13 13:57:32 PDT 2010


Commit-ID:  c6bebc44627afe5a652d4e305527ca12e90ff768
Gitweb:     http://syslinux.zytor.com/commit/c6bebc44627afe5a652d4e305527ca12e90ff768
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 12 May 2010 21:22:14 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 12 May 2010 21:22:14 -0700

syslinux.ld: don't pad between .got and .data

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 at zytor.com>


---
 core/syslinux.ld |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/core/syslinux.ld b/core/syslinux.ld
index 82170a7..ea10211 100644
--- a/core/syslinux.ld
+++ b/core/syslinux.ld
@@ -317,8 +317,6 @@ SECTIONS
 		__got_end = .;
 	}
 
-	. = ALIGN(16);
-
 	__data_vma = .;
 	__data_lma = __data_vma + __text_lma - __text_vma;
 	.data : AT(__data_lma) {



More information about the Syslinux-commits mailing list