未验证 提交 1f8c3e5e 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3312 from xiangxistu/dev

[bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series  but chip doesn't work
...@@ -79,7 +79,7 @@ LoopCopyDataInit: ...@@ -79,7 +79,7 @@ LoopCopyDataInit:
adds r4, r0, r3 adds r4, r0, r3
cmp r4, r1 cmp r4, r1
bcc CopyDataInit bcc CopyDataInit
/* Zero fill the bss segment. */ /* Zero fill the bss segment. */
ldr r2, =_sbss ldr r2, =_sbss
ldr r4, =_ebss ldr r4, =_ebss
...@@ -97,9 +97,9 @@ LoopFillZerobss: ...@@ -97,9 +97,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
...@@ -79,7 +79,7 @@ LoopCopyDataInit: ...@@ -79,7 +79,7 @@ LoopCopyDataInit:
adds r4, r0, r3 adds r4, r0, r3
cmp r4, r1 cmp r4, r1
bcc CopyDataInit bcc CopyDataInit
/* Zero fill the bss segment. */ /* Zero fill the bss segment. */
ldr r2, =_sbss ldr r2, =_sbss
ldr r4, =_ebss ldr r4, =_ebss
...@@ -97,9 +97,9 @@ LoopFillZerobss: ...@@ -97,9 +97,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
...@@ -79,7 +79,7 @@ LoopCopyDataInit: ...@@ -79,7 +79,7 @@ LoopCopyDataInit:
adds r4, r0, r3 adds r4, r0, r3
cmp r4, r1 cmp r4, r1
bcc CopyDataInit bcc CopyDataInit
/* Zero fill the bss segment. */ /* Zero fill the bss segment. */
ldr r2, =_sbss ldr r2, =_sbss
ldr r4, =_ebss ldr r4, =_ebss
...@@ -97,9 +97,9 @@ LoopFillZerobss: ...@@ -97,9 +97,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
...@@ -79,7 +79,7 @@ LoopCopyDataInit: ...@@ -79,7 +79,7 @@ LoopCopyDataInit:
adds r4, r0, r3 adds r4, r0, r3
cmp r4, r1 cmp r4, r1
bcc CopyDataInit bcc CopyDataInit
/* Zero fill the bss segment. */ /* Zero fill the bss segment. */
ldr r2, =_sbss ldr r2, =_sbss
ldr r4, =_ebss ldr r4, =_ebss
...@@ -97,9 +97,9 @@ LoopFillZerobss: ...@@ -97,9 +97,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
...@@ -79,7 +79,7 @@ LoopCopyDataInit: ...@@ -79,7 +79,7 @@ LoopCopyDataInit:
adds r4, r0, r3 adds r4, r0, r3
cmp r4, r1 cmp r4, r1
bcc CopyDataInit bcc CopyDataInit
/* Zero fill the bss segment. */ /* Zero fill the bss segment. */
ldr r2, =_sbss ldr r2, =_sbss
ldr r4, =_ebss ldr r4, =_ebss
...@@ -97,9 +97,9 @@ LoopFillZerobss: ...@@ -97,9 +97,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
...@@ -79,7 +79,7 @@ LoopCopyDataInit: ...@@ -79,7 +79,7 @@ LoopCopyDataInit:
adds r4, r0, r3 adds r4, r0, r3
cmp r4, r1 cmp r4, r1
bcc CopyDataInit bcc CopyDataInit
/* Zero fill the bss segment. */ /* Zero fill the bss segment. */
ldr r2, =_sbss ldr r2, =_sbss
ldr r4, =_ebss ldr r4, =_ebss
...@@ -97,9 +97,9 @@ LoopFillZerobss: ...@@ -97,9 +97,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
...@@ -78,7 +78,7 @@ LoopCopyDataInit: ...@@ -78,7 +78,7 @@ LoopCopyDataInit:
adds r4, r0, r3 adds r4, r0, r3
cmp r4, r1 cmp r4, r1
bcc CopyDataInit bcc CopyDataInit
/* Zero fill the bss segment. */ /* Zero fill the bss segment. */
ldr r2, =_sbss ldr r2, =_sbss
ldr r4, =_ebss ldr r4, =_ebss
...@@ -96,9 +96,9 @@ LoopFillZerobss: ...@@ -96,9 +96,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
...@@ -93,9 +93,9 @@ LoopFillZerobss: ...@@ -93,9 +93,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/ /* Call the clock system intitialization function.*/
bl SystemInit bl SystemInit
/* Call static constructors */ /* Call static constructors */
bl __libc_init_array /* bl __libc_init_array */
/* Call the application's entry point.*/ /* Call the application's entry point.*/
bl main bl entry
LoopForever: LoopForever:
b LoopForever b LoopForever
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册