diff options
author | Po-Yu Chuang <ratbert@faraday-tech.com> | 2011-03-01 22:59:59 +0000 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-03-27 19:18:37 +0200 |
commit | 44c6e6591cb451ae606f8bde71dd5fb7b4002544 (patch) | |
tree | d1fd2c25a1590f9a19a814b1f5d4c61186d8cc86 /arch/powerpc/cpu/mpc83xx | |
parent | 55f7934d2b07a62027cb05484ea3f10666a855d1 (diff) | |
download | u-boot-imx-44c6e6591cb451ae606f8bde71dd5fb7b4002544.zip u-boot-imx-44c6e6591cb451ae606f8bde71dd5fb7b4002544.tar.gz u-boot-imx-44c6e6591cb451ae606f8bde71dd5fb7b4002544.tar.bz2 |
rename _end to __bss_end__
Currently, _end is used for end of BSS section. We want _end to mean
end of u-boot image, so we rename _end to __bss_end__ first.
Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/start.S | 4 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/u-boot.lds | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S index 460ac9a..7e60315 100644 --- a/arch/powerpc/cpu/mpc83xx/start.S +++ b/arch/powerpc/cpu/mpc83xx/start.S @@ -72,7 +72,7 @@ START_GOT GOT_ENTRY(_GOT2_TABLE_) GOT_ENTRY(__bss_start) - GOT_ENTRY(_end) + GOT_ENTRY(__bss_end__) #ifndef CONFIG_NAND_SPL GOT_ENTRY(_FIXUP_TABLE_) @@ -977,7 +977,7 @@ clear_bss: */ lwz r4,GOT(environment) #else - lwz r4,GOT(_end) + lwz r4,GOT(__bss_end__) #endif cmplw 0, r3, r4 diff --git a/arch/powerpc/cpu/mpc83xx/u-boot.lds b/arch/powerpc/cpu/mpc83xx/u-boot.lds index 752a175..2f4b9ad 100644 --- a/arch/powerpc/cpu/mpc83xx/u-boot.lds +++ b/arch/powerpc/cpu/mpc83xx/u-boot.lds @@ -83,7 +83,7 @@ SECTIONS *(COMMON) . = ALIGN(4); } - _end = . ; + __bss_end__ = . ; PROVIDE (end = .); } ENTRY(_start) |