diff options
author | Simon Glass <sjg@chromium.org> | 2013-03-14 06:54:53 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-15 16:13:54 -0400 |
commit | 3929fb0a141530551b3fce15ee08629f80d5ef2a (patch) | |
tree | 8c3e31e338afb232ac5e404225304c7285136bf4 /nand_spl/board/freescale | |
parent | 69d59b47ad408d9961b850f23e59a93fdeb71df8 (diff) | |
download | u-boot-imx-3929fb0a141530551b3fce15ee08629f80d5ef2a.zip u-boot-imx-3929fb0a141530551b3fce15ee08629f80d5ef2a.tar.gz u-boot-imx-3929fb0a141530551b3fce15ee08629f80d5ef2a.tar.bz2 |
Replace __bss_end__ with __bss_end
Note this is a tree-wide change affecting multiple architectures.
At present we use __bss_start, but mostly __bss_end__. This seems
inconsistent and in a number of places __bss_end is used instead.
Change to use __bss_end for the BSS end symbol throughout U-Boot. This
makes it possible to use the asm-generic/sections.h file on all
archs.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'nand_spl/board/freescale')
-rw-r--r-- | nand_spl/board/freescale/mpc8315erdb/u-boot.lds | 4 | ||||
-rw-r--r-- | nand_spl/board/freescale/mx31pdk/u-boot.lds | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nand_spl/board/freescale/mpc8315erdb/u-boot.lds b/nand_spl/board/freescale/mpc8315erdb/u-boot.lds index d140453..870b47d 100644 --- a/nand_spl/board/freescale/mpc8315erdb/u-boot.lds +++ b/nand_spl/board/freescale/mpc8315erdb/u-boot.lds @@ -49,7 +49,7 @@ SECTIONS .bss (NOLOAD) : { *(.*bss) } - __bss_end__ = .; + __bss_end = .; } ENTRY(_start) -ASSERT(__bss_end__ <= 0xfff01000, "NAND bootstrap too big"); +ASSERT(__bss_end <= 0xfff01000, "NAND bootstrap too big"); diff --git a/nand_spl/board/freescale/mx31pdk/u-boot.lds b/nand_spl/board/freescale/mx31pdk/u-boot.lds index a26110f..eaccd55 100644 --- a/nand_spl/board/freescale/mx31pdk/u-boot.lds +++ b/nand_spl/board/freescale/mx31pdk/u-boot.lds @@ -73,7 +73,7 @@ SECTIONS __bss_start = .; *(.bss) . = ALIGN(4); - __bss_end__ = .; + __bss_end = .; } /DISCARD/ : { *(.bss*) } |