[syslinux:master] syslinux.ld: ld 2.20.51 seems to want .bss16 explicitly (NOLOAD)

syslinux-bot for H. Peter Anvin hpa at zytor.com
Tue Dec 14 09:57:34 PST 2010


Commit-ID:  a8512b9931261ef9d837c69dfd9a3bf0ffc9a469
Gitweb:     http://syslinux.zytor.com/commit/a8512b9931261ef9d837c69dfd9a3bf0ffc9a469
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Tue, 14 Dec 2010 09:51:33 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Tue, 14 Dec 2010 09:51:33 -0800

syslinux.ld: ld 2.20.51 seems to want .bss16 explicitly (NOLOAD)

ld 2.20.51 seems to want the .bss16 explicitly marked (NOLOAD).  We do
that for most of the other bss sections, so we might as well.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


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

diff --git a/core/syslinux.ld b/core/syslinux.ld
index 164c94c..c1c884c 100644
--- a/core/syslinux.ld
+++ b/core/syslinux.ld
@@ -31,7 +31,7 @@ SECTIONS
 	/* "Early" sections (before the load) */
 	. = 0x1000;
 
-	.earlybss : {
+	.earlybss (NOLOAD) : {
 		__earlybss_start = .;
 		*(.earlybss)
 		__earlybss_end = .;
@@ -40,7 +40,7 @@ SECTIONS
 	__earlybss_dwords = (__earlybss_len + 3) >> 2;
 
 	. = ALIGN(4);
-	.bss16 : {
+	.bss16 (NOLOAD) : {
 		__bss16_start = .;
 		*(.bss16)
 		__bss16_end = .;



More information about the Syslinux-commits mailing list