diff options
Diffstat (limited to 'arch/m68k/platform/68328')
-rw-r--r-- | arch/m68k/platform/68328/head-de2.S | 8 | ||||
-rw-r--r-- | arch/m68k/platform/68328/head-pilot.S | 10 | ||||
-rw-r--r-- | arch/m68k/platform/68328/head-ram.S | 4 | ||||
-rw-r--r-- | arch/m68k/platform/68328/head-rom.S | 6 |
4 files changed, 14 insertions, 14 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: | |||
60 | * Move ROM filesystem above bss :-) | 60 | * Move ROM filesystem above bss :-) |
61 | */ | 61 | */ |
62 | 62 | ||
63 | moveal #_sbss, %a0 /* romfs at the start of bss */ | 63 | moveal #__bss_start, %a0 /* romfs at the start of bss */ |
64 | moveal #_ebss, %a1 /* Set up destination */ | 64 | moveal #__bss_stop, %a1 /* Set up destination */ |
65 | movel %a0, %a2 /* Copy of bss start */ | 65 | movel %a0, %a2 /* Copy of bss start */ |
66 | 66 | ||
67 | movel 8(%a0), %d1 /* Get size of ROMFS */ | 67 | movel 8(%a0), %d1 /* Get size of ROMFS */ |
@@ -84,8 +84,8 @@ _start: | |||
84 | * Initialize BSS segment to 0 | 84 | * Initialize BSS segment to 0 |
85 | */ | 85 | */ |
86 | 86 | ||
87 | lea _sbss, %a0 | 87 | lea __bss_start, %a0 |
88 | lea _ebss, %a1 | 88 | lea __bss_stop, %a1 |
89 | 89 | ||
90 | /* Copy 0 to %a0 until %a0 == %a1 */ | 90 | /* Copy 0 to %a0 until %a0 == %a1 */ |
91 | 2: cmpal %a0, %a1 | 91 | 2: cmpal %a0, %a1 |
diff --git a/arch/m68k/platform/68328/head-pilot.S b/arch/m68k/platform/68328/head-pilot.S index 2ebfd6420818..45a9dad29e3d 100644 --- a/arch/m68k/platform/68328/head-pilot.S +++ b/arch/m68k/platform/68328/head-pilot.S | |||
@@ -110,7 +110,7 @@ L0: | |||
110 | movel #CONFIG_VECTORBASE, %d7 | 110 | movel #CONFIG_VECTORBASE, %d7 |
111 | addl #16, %d7 | 111 | addl #16, %d7 |
112 | moveal %d7, %a0 | 112 | moveal %d7, %a0 |
113 | moveal #_ebss, %a1 | 113 | moveal #__bss_stop, %a1 |
114 | lea %a1@(512), %a2 | 114 | lea %a1@(512), %a2 |
115 | 115 | ||
116 | DBG_PUTC('C') | 116 | DBG_PUTC('C') |
@@ -138,8 +138,8 @@ LD1: | |||
138 | 138 | ||
139 | DBG_PUTC('E') | 139 | DBG_PUTC('E') |
140 | 140 | ||
141 | moveal #_sbss, %a0 | 141 | moveal #__bss_start, %a0 |
142 | moveal #_ebss, %a1 | 142 | moveal #__bss_stop, %a1 |
143 | 143 | ||
144 | /* Copy 0 to %a0 until %a0 == %a1 */ | 144 | /* Copy 0 to %a0 until %a0 == %a1 */ |
145 | L1: | 145 | L1: |
@@ -150,7 +150,7 @@ L1: | |||
150 | DBG_PUTC('F') | 150 | DBG_PUTC('F') |
151 | 151 | ||
152 | /* Copy command line from end of bss to command line */ | 152 | /* Copy command line from end of bss to command line */ |
153 | moveal #_ebss, %a0 | 153 | moveal #__bss_stop, %a0 |
154 | moveal #command_line, %a1 | 154 | moveal #command_line, %a1 |
155 | lea %a1@(512), %a2 | 155 | lea %a1@(512), %a2 |
156 | 156 | ||
@@ -165,7 +165,7 @@ L3: | |||
165 | 165 | ||
166 | movel #_sdata, %d0 | 166 | movel #_sdata, %d0 |
167 | movel %d0, _rambase | 167 | movel %d0, _rambase |
168 | movel #_ebss, %d0 | 168 | movel #__bss_stop, %d0 |
169 | movel %d0, _ramstart | 169 | movel %d0, _ramstart |
170 | 170 | ||
171 | movel %a4, %d0 | 171 | movel %a4, %d0 |
diff --git a/arch/m68k/platform/68328/head-ram.S b/arch/m68k/platform/68328/head-ram.S index 7f1aeeacb219..5189ef926098 100644 --- a/arch/m68k/platform/68328/head-ram.S +++ b/arch/m68k/platform/68328/head-ram.S | |||
@@ -76,8 +76,8 @@ pclp3: | |||
76 | beq pclp3 | 76 | beq pclp3 |
77 | #endif /* DEBUG */ | 77 | #endif /* DEBUG */ |
78 | moveal #0x007ffff0, %ssp | 78 | moveal #0x007ffff0, %ssp |
79 | moveal #_sbss, %a0 | 79 | moveal #__bss_start, %a0 |
80 | moveal #_ebss, %a1 | 80 | moveal #__bss_stop, %a1 |
81 | 81 | ||
82 | /* Copy 0 to %a0 until %a0 >= %a1 */ | 82 | /* Copy 0 to %a0 until %a0 >= %a1 */ |
83 | L1: | 83 | L1: |
diff --git a/arch/m68k/platform/68328/head-rom.S b/arch/m68k/platform/68328/head-rom.S index a5ff96d0295f..3dff98ba2e97 100644 --- a/arch/m68k/platform/68328/head-rom.S +++ b/arch/m68k/platform/68328/head-rom.S | |||
@@ -59,8 +59,8 @@ _stext: movew #0x2700,%sr | |||
59 | cmpal %a1, %a2 | 59 | cmpal %a1, %a2 |
60 | bhi 1b | 60 | bhi 1b |
61 | 61 | ||
62 | moveal #_sbss, %a0 | 62 | moveal #__bss_start, %a0 |
63 | moveal #_ebss, %a1 | 63 | moveal #__bss_stop, %a1 |
64 | /* Copy 0 to %a0 until %a0 == %a1 */ | 64 | /* Copy 0 to %a0 until %a0 == %a1 */ |
65 | 65 | ||
66 | 1: | 66 | 1: |
@@ -70,7 +70,7 @@ _stext: movew #0x2700,%sr | |||
70 | 70 | ||
71 | movel #_sdata, %d0 | 71 | movel #_sdata, %d0 |
72 | movel %d0, _rambase | 72 | movel %d0, _rambase |
73 | movel #_ebss, %d0 | 73 | movel #__bss_stop, %d0 |
74 | movel %d0, _ramstart | 74 | movel %d0, _ramstart |
75 | movel #RAMEND-CONFIG_MEMORY_RESERVE*0x100000, %d0 | 75 | movel #RAMEND-CONFIG_MEMORY_RESERVE*0x100000, %d0 |
76 | movel %d0, _ramend | 76 | movel %d0, _ramend |