From: H. Peter Anvin Date: Mon, 25 Apr 2011 23:47:09 +0000 (-0700) Subject: core: remove the .hugebss section X-Git-Tag: syslinux-4.10-pre6~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b772bb6588a28fd5741ca86f579e3838d96eb80;p=platform%2Fupstream%2Fsyslinux.git 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 --- 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 */