summaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/68328/head-de2.S
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-05-31 21:46:03 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2012-06-27 09:59:43 +0200
commitdc0610518f9f01814783f14ba476b41c6ffb27cb (patch)
tree26d1616551683c2997fab819d68d7a2dd350dc42 /arch/m68k/platform/68328/head-de2.S
parentmtd/uclinux: Use generic __bss_stop instead of _ebss (diff)
downloadlinux-dc0610518f9f01814783f14ba476b41c6ffb27cb.tar.xz
linux-dc0610518f9f01814783f14ba476b41c6ffb27cb.zip
m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop}
BSS_SECTION() provides the __bss_{start,stop} symbols, so there's no need to wrap our own _[se]bss around it. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Greg Ungerer<gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/68328/head-de2.S')
-rw-r--r--arch/m68k/platform/68328/head-de2.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/m68k/platform/68328/head-de2.S b/arch/m68k/platform/68328/head-de2.S
index f632fdcb93e9..537d3245b539 100644
--- a/arch/m68k/platform/68328/head-de2.S
+++ b/arch/m68k/platform/68328/head-de2.S
@@ -60,8 +60,8 @@ _start:
* Move ROM filesystem above bss :-)
*/
- moveal #_sbss, %a0 /* romfs at the start of bss */
- moveal #_ebss, %a1 /* Set up destination */
+ moveal #__bss_start, %a0 /* romfs at the start of bss */
+ moveal #__bss_stop, %a1 /* Set up destination */
movel %a0, %a2 /* Copy of bss start */
movel 8(%a0), %d1 /* Get size of ROMFS */
@@ -84,8 +84,8 @@ _start:
* Initialize BSS segment to 0
*/
- lea _sbss, %a0
- lea _ebss, %a1
+ lea __bss_start, %a0
+ lea __bss_stop, %a1
/* Copy 0 to %a0 until %a0 == %a1 */
2: cmpal %a0, %a1