m68knommu: rename BSS define in linker script
authorGreg Ungerer <gerg@uclinux.org>
Fri, 30 Oct 2009 04:58:58 +0000 (14:58 +1000)
committerGreg Ungerer <gerg@goober.(none)>
Fri, 4 Dec 2009 01:45:31 +0000 (11:45 +1000)
The "BSS" define name now used in asm-generic/vmlinux.lds.h
(introduced in commit ef53dae8658cf0e93d380983824a661067948d87)
clashes with the internal "BSS" define in the m68knommu vmlinux.lds.S
linker script. So rename it.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/kernel/vmlinux.lds.S

index 2736a5e..6e10d25 100644 (file)
@@ -15,7 +15,7 @@
 #define        TEXT            ram
 #define        DATA            ram
 #define        INIT            ram
-#define        BSS             ram
+#define        BSSS            ram
 #endif
 #if defined(CONFIG_ROMKERNEL) || defined(CONFIG_HIMEMKERNEL)
 #define        RAM_START       CONFIG_RAMBASE
@@ -27,7 +27,7 @@
 #define        TEXT            rom
 #define        DATA            ram
 #define        INIT            ram
-#define        BSS             ram
+#define        BSSS            ram
 #endif
 
 #ifndef DATA_ADDR
@@ -192,7 +192,7 @@ SECTIONS {
                . = ALIGN(4) ;
                _ebss = . ;
                _end = . ;
-       } > BSS
+       } > BSSS
 
        DISCARDS
 }