]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
rename _end to __bss_end__
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc85xx / u-boot-nand_spl.lds
index 7d9cee98e51f75f10b352494d631b173bdb23d27..8410bd797933a16662e2574a487e1b33cf1ab046 100644 (file)
@@ -28,15 +28,15 @@ SECTIONS
 {
        . = 0xfff00000;
        .text : {
-               *(.text)
+               *(.text*)
        }
        _etext = .;
 
        .reloc : {
                _GOT2_TABLE_ = .;
-               *(.got2)
+               KEEP(*(.got2))
                _FIXUP_TABLE_ = .;
-               *(.fixup)
+               KEEP(*(.fixup))
        }
        __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
        __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
@@ -54,14 +54,14 @@ SECTIONS
        __init_end = .;
 
        .resetvec ADDR(.text) + 0xffc : {
-               *(.resetvec)
+               KEEP(*(.resetvec))
        } = 0xffff
 
        __bss_start = .;
        .bss : {
-               *(.sbss)
-               *(.bss)
+               *(.sbss*)
+               *(.bss*)
        }
-       _end = .;
+       __bss_end__ = .;
 }
 ASSERT(__init_end <= 0xfff00ffc, "NAND bootstrap too big");