File tree Expand file tree Collapse file tree 5 files changed +2
-87
lines changed
targets/TARGET_STM/TARGET_STM32L0
TARGET_DISCO_L053C8/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_L011K4/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_L031K6/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_L053R8/device/TOOLCHAIN_GCC_ARM
TARGET_NUCLEO_L073RZ/device/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 5 files changed +2
-87
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,20 +79,7 @@ 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
102
85
/ * Call static constructors * /
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,20 +79,7 @@ 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
102
85
/ * Call static constructors * /
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