File tree Expand file tree Collapse file tree 3 files changed +1
-45
lines changed
targets/TARGET_STM/TARGET_STM32F1
TARGET_BLUEPILL_F103C8/device/TOOLCHAIN_GCC_ARM
TARGET_DISCO_F100RB/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_F103RB/device/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 3 files changed +1
-45
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ defined in linker script */
58
58
. word _sdata
59
59
/ * end address for the .data section. defined in linker script * /
60
60
. word _edata
61
- / * start address for the .bss section. defined in linker script * /
62
- . word _sbss
63
- / * end address for the .bss section. defined in linker script * /
64
- . word _ebss
65
61
66
62
. equ BootRAM , 0xF108F85F
67
63
/ **
@@ -96,17 +92,6 @@ LoopCopyDataInit:
96
92
adds r2 , r0 , r1
97
93
cmp r2 , r3
98
94
bcc CopyDataInit
99
- ldr r2 , =_sbss
100
- b LoopFillZerobss
101
- / * Zero fill the bss segment. * /
102
- FillZerobss:
103
- movs r3 , # 0
104
- str r3 , [ r2 ], # 4
105
-
106
- LoopFillZerobss:
107
- ldr r3 , = _ebss
108
- cmp r2 , r3
109
- bcc FillZerobss
110
95
111
96
/ * Call the clock system intitialization function. * /
112
97
bl SystemInit
Original file line number Diff line number Diff line change @@ -58,10 +58,7 @@ defined in linker script */
58
58
.word _sdata
59
59
/* end address for the .data section. defined in linker script */
60
60
.word _edata
61
- /* start address for the .bss section. defined in linker script */
62
- .word _sbss
63
- /* end address for the .bss section. defined in linker script */
64
- .word _ebss
61
+
65
62
66
63
.equ BootRAM, 0xF108F85F
67
64
/**
@@ -94,17 +91,6 @@ LoopCopyDataInit:
94
91
adds r2, r0, r1
95
92
cmp r2, r3
96
93
bcc CopyDataInit
97
- ldr r2, =_sbss
98
- b LoopFillZerobss
99
- /* Zero fill the bss segment. */
100
- FillZerobss:
101
- movs r3, #0
102
- str r3, [r2], #4
103
-
104
- LoopFillZerobss:
105
- ldr r3, = _ebss
106
- cmp r2, r3
107
- bcc FillZerobss
108
94
109
95
/* Call the clock system intitialization function.*/
110
96
bl SystemInit
Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ defined in linker script */
58
58
. word _sdata
59
59
/ * end address for the .data section. defined in linker script * /
60
60
. word _edata
61
- / * start address for the .bss section. defined in linker script * /
62
- . word _sbss
63
- / * end address for the .bss section. defined in linker script * /
64
- . word _ebss
65
61
66
62
. equ BootRAM , 0xF108F85F
67
63
/ **
@@ -96,17 +92,6 @@ LoopCopyDataInit:
96
92
adds r2 , r0 , r1
97
93
cmp r2 , r3
98
94
bcc CopyDataInit
99
- ldr r2 , =_sbss
100
- b LoopFillZerobss
101
- / * Zero fill the bss segment. * /
102
- FillZerobss:
103
- movs r3 , # 0
104
- str r3 , [ r2 ], # 4
105
-
106
- LoopFillZerobss:
107
- ldr r3 , = _ebss
108
- cmp r2 , r3
109
- bcc FillZerobss
110
95
111
96
/ * Call the clock system intitialization function. * /
112
97
bl SystemInit
You can’t perform that action at this time.
0 commit comments