core: remove the .hugebss section
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Apr 2011 23:47:09 +0000 (16:47 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Apr 2011 23:47:09 +0000 (16:47 -0700)
There are no more users of the .hugebss section, so remove it from
existence.

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

index 46c41bc..cfb8213 100644 (file)
@@ -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)
index 40a0139..22780c2 100644 (file)
@@ -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 */