[syslinux:lwip] core: remove the .hugebss section

syslinux-bot for H. Peter Anvin hpa at zytor.com
Mon Apr 25 16:48:35 PDT 2011


Commit-ID:  3b772bb6588a28fd5741ca86f579e3838d96eb80
Gitweb:     http://syslinux.zytor.com/commit/3b772bb6588a28fd5741ca86f579e3838d96eb80
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 25 Apr 2011 16:47:09 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 25 Apr 2011 16:47:09 -0700

core: remove the .hugebss section

There are no more users of the .hugebss section, so remove it from
existence.

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


---
 core/include/core.h |    6 ------
 core/syslinux.ld    |   14 --------------
 2 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/core/include/core.h b/core/include/core.h
index 46c41bc..cfb8213 100644
--- a/core/include/core.h
+++ b/core/include/core.h
@@ -57,12 +57,6 @@ void call16(void (*)(void), const com32sys_t *, com32sys_t *);
 #define __bss16  __attribute__((nocommon,section(".bss16")))
 
 /*
- * Section for very large aligned objects, not zeroed on startup
- */
-#define __hugebss __attribute__((nocommon,section(".hugebss"),aligned(4096)))
-
-
-/*
  * Helper routine to return a specific set of flags
  */
 static inline void set_flags(com32sys_t *regs, uint32_t flags)
diff --git a/core/syslinux.ld b/core/syslinux.ld
index 40a0139..22780c2 100644
--- a/core/syslinux.ld
+++ b/core/syslinux.ld
@@ -342,20 +342,6 @@ SECTIONS
 	__bss_len = ABSOLUTE(__bss_end) - ABSOLUTE(__bss_start);
 	__bss_dwords = (__bss_len + 3) >> 2;
 
-	/* Very large objects which don't need to be zeroed */
-
-	__hugebss_vma = .;
-	__hugebss_lma = .;		/* Dummy */
-	.hugebss (NOLOAD) : AT (__hugebss_lma) {
-		__hugebss_start = .;
-		*(.hugebss)
-		*(.hugebss.*)
-		__hugebss_end = .;
-	}
-	__hugebss_len = ABSOLUTE(__hugebss_end) - ABSOLUTE(__hugebss_start);
-	__hugebss_dwords = (__hugebss_len + 3) >> 2;
-
-
 	/* XXX: This stack should be unified with the COM32 stack */
 	__stack_vma = .;
 	__stack_lma = .;	/* Dummy */



More information about the Syslinux-commits mailing list