File tree Expand file tree Collapse file tree 7 files changed +1
-119
lines changed
targets/TARGET_STM/TARGET_STM32F0
TARGET_DISCO_F051R8/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_F030R8/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_F031K6/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_F042K6/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_F070RB/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_F072RB/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_F091RC/device/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 7 files changed +1
-119
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,6 @@ defined in linker script */
55
55
. word _sdata
56
56
/ * end address for the .data section. defined in linker script * /
57
57
. word _edata
58
- / * start address for the .bss section. defined in linker script * /
59
- . word _sbss
60
- / * end address for the .bss section. defined in linker script * /
61
- . word _ebss
62
58
63
59
. section .text.Reset_Handler
64
60
.weak Reset_Handler
@@ -83,19 +79,6 @@ LoopCopyDataInit:
83
79
adds r2 , r0 , r1
84
80
cmp r2 , r3
85
81
bcc CopyDataInit
86
- ldr r2 , =_sbss
87
- b LoopFillZerobss
88
- / * Zero fill the bss segment. * /
89
- FillZerobss:
90
- movs r3 , # 0
91
- str r3 , [ r2 ]
92
- adds r2 , r2 , # 4
93
-
94
-
95
- LoopFillZerobss:
96
- ldr r3 , = _ebss
97
- cmp r2 , r3
98
- bcc FillZerobss
99
82
100
83
/ * Call the clock system intitialization function. * /
101
84
bl SystemInit
Original file line number Diff line number Diff line change @@ -55,10 +55,6 @@ defined in linker script */
55
55
. word _sdata
56
56
/ * end address for the .data section. defined in linker script * /
57
57
. word _edata
58
- / * start address for the .bss section. defined in linker script * /
59
- . word _sbss
60
- / * end address for the .bss section. defined in linker script * /
61
- . word _ebss
62
58
63
59
. section .text.Reset_Handler
64
60
.weak Reset_Handler
@@ -83,19 +79,6 @@ LoopCopyDataInit:
83
79
adds r2 , r0 , r1
84
80
cmp r2 , r3
85
81
bcc CopyDataInit
86
- ldr r2 , =_sbss
87
- b LoopFillZerobss
88
- / * Zero fill the bss segment. * /
89
- FillZerobss:
90
- movs r3 , # 0
91
- str r3 , [ r2 ]
92
- adds r2 , r2 , # 4
93
-
94
-
95
- LoopFillZerobss:
96
- ldr r3 , = _ebss
97
- cmp r2 , r3
98
- bcc FillZerobss
99
82
100
83
/ * Call the clock system intitialization function. * /
101
84
bl SystemInit
Original file line number Diff line number Diff line change @@ -55,10 +55,6 @@ defined in linker script */
55
55
. word _sdata
56
56
/ * end address for the .data section. defined in linker script * /
57
57
. word _edata
58
- / * start address for the .bss section. defined in linker script * /
59
- . word _sbss
60
- / * end address for the .bss section. defined in linker script * /
61
- . word _ebss
62
58
63
59
. section .text.Reset_Handler
64
60
.weak Reset_Handler
@@ -83,19 +79,6 @@ LoopCopyDataInit:
83
79
adds r2 , r0 , r1
84
80
cmp r2 , r3
85
81
bcc CopyDataInit
86
- ldr r2 , =_sbss
87
- b LoopFillZerobss
88
- / * Zero fill the bss segment. * /
89
- FillZerobss:
90
- movs r3 , # 0
91
- str r3 , [ r2 ]
92
- adds r2 , r2 , # 4
93
-
94
-
95
- LoopFillZerobss:
96
- ldr r3 , = _ebss
97
- cmp r2 , r3
98
- bcc FillZerobss
99
82
100
83
/ * Call the clock system intitialization function. * /
101
84
bl SystemInit
Original file line number Diff line number Diff line change @@ -55,10 +55,6 @@ defined in linker script */
55
55
. word _sdata
56
56
/ * end address for the .data section. defined in linker script * /
57
57
. word _edata
58
- / * start address for the .bss section. defined in linker script * /
59
- . word _sbss
60
- / * end address for the .bss section. defined in linker script * /
61
- . word _ebss
62
58
63
59
/ **
64
60
* @brief This is the code th at gets called when the processor first
@@ -115,19 +111,6 @@ LoopCopyDataInit:
115
111
adds r2 , r0 , r1
116
112
cmp r2 , r3
117
113
bcc CopyDataInit
118
- ldr r2 , =_sbss
119
- b LoopFillZerobss
120
- / * Zero fill the bss segment. * /
121
- FillZerobss:
122
- movs r3 , # 0
123
- str r3 , [ r2 ]
124
- adds r2 , r2 , # 4
125
-
126
-
127
- LoopFillZerobss:
128
- ldr r3 , = _ebss
129
- cmp r2 , r3
130
- bcc FillZerobss
131
114
132
115
/ * Call the clock system intitialization function. * /
133
116
bl SystemInit
Original file line number Diff line number Diff line change @@ -55,10 +55,7 @@ defined in linker script */
55
55
. word _sdata
56
56
/ * end address for the .data section. defined in linker script * /
57
57
. word _edata
58
- / * start address for the .bss section. defined in linker script * /
59
- . word _sbss
60
- / * end address for the .bss section. defined in linker script * /
61
- . word _ebss
58
+
62
59
63
60
. section .text.Reset_Handler
64
61
.weak Reset_Handler
@@ -83,19 +80,6 @@ LoopCopyDataInit:
83
80
adds r2 , r0 , r1
84
81
cmp r2 , r3
85
82
bcc CopyDataInit
86
- ldr r2 , =_sbss
87
- b LoopFillZerobss
88
- / * Zero fill the bss segment. * /
89
- FillZerobss:
90
- movs r3 , # 0
91
- str r3 , [ r2 ]
92
- adds r2 , r2 , # 4
93
-
94
-
95
- LoopFillZerobss:
96
- ldr r3 , = _ebss
97
- cmp r2 , r3
98
- bcc FillZerobss
99
83
100
84
/ * Call the clock system intitialization function. * /
101
85
bl SystemInit
Original file line number Diff line number Diff line change @@ -55,10 +55,6 @@ defined in linker script */
55
55
. word _sdata
56
56
/ * end address for the .data section. defined in linker script * /
57
57
. word _edata
58
- / * start address for the .bss section. defined in linker script * /
59
- . word _sbss
60
- / * end address for the .bss section. defined in linker script * /
61
- . word _ebss
62
58
63
59
. section .text.Reset_Handler
64
60
.weak Reset_Handler
@@ -83,19 +79,6 @@ LoopCopyDataInit:
83
79
adds r2 , r0 , r1
84
80
cmp r2 , r3
85
81
bcc CopyDataInit
86
- ldr r2 , =_sbss
87
- b LoopFillZerobss
88
- / * Zero fill the bss segment. * /
89
- FillZerobss:
90
- movs r3 , # 0
91
- str r3 , [ r2 ]
92
- adds r2 , r2 , # 4
93
-
94
-
95
- LoopFillZerobss:
96
- ldr r3 , = _ebss
97
- cmp r2 , r3
98
- bcc FillZerobss
99
82
100
83
/ * Call the clock system intitialization function. * /
101
84
bl SystemInit
Original file line number Diff line number Diff line change @@ -55,10 +55,6 @@ defined in linker script */
55
55
. word _sdata
56
56
/ * end address for the .data section. defined in linker script * /
57
57
. word _edata
58
- / * start address for the .bss section. defined in linker script * /
59
- . word _sbss
60
- / * end address for the .bss section. defined in linker script * /
61
- . word _ebss
62
58
63
59
. section .text.Reset_Handler
64
60
.weak Reset_Handler
@@ -83,19 +79,6 @@ LoopCopyDataInit:
83
79
adds r2 , r0 , r1
84
80
cmp r2 , r3
85
81
bcc CopyDataInit
86
- ldr r2 , =_sbss
87
- b LoopFillZerobss
88
- / * Zero fill the bss segment. * /
89
- FillZerobss:
90
- movs r3 , # 0
91
- str r3 , [ r2 ]
92
- adds r2 , r2 , # 4
93
-
94
-
95
- LoopFillZerobss:
96
- ldr r3 , = _ebss
97
- cmp r2 , r3
98
- bcc FillZerobss
99
82
100
83
/ * Call the clock system intitialization function. * /
101
84
bl SystemInit
You can’t perform that action at this time.
0 commit comments