arm/cortex-[a|r]: generating assemble code in ARM states by default

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-12-02 02:52:18 +08:00 committed by Petro Karashchenko
parent 8ee2ed0b91
commit d321080351
12 changed files with 26 additions and 12 deletions

View File

@ -68,6 +68,8 @@
****************************************************************************/
.text
.syntax unified
.arm
/****************************************************************************
* Name: __cpu[n]_start

View File

@ -47,6 +47,8 @@
****************************************************************************/
.text
.syntax unified
.arm
/****************************************************************************
* Public Functions

View File

@ -168,6 +168,8 @@
*/
.text
.syntax unified
.arm
.global __start
.type __start, #function

View File

@ -197,6 +197,8 @@
*/
.text
.syntax unified
.arm
.global __start
.type __start, #function

View File

@ -46,12 +46,8 @@
****************************************************************************/
.text
/****************************************************************************
* Public Functions
****************************************************************************/
.text
.syntax unified
.arm
/****************************************************************************
* Name: arm_vectoraddrexcptn

View File

@ -152,6 +152,8 @@
****************************************************************************/
.text
.syntax unified
.arm
/****************************************************************************
* Public Functions

View File

@ -38,6 +38,9 @@
.eabi_attribute Tag_ABI_align_preserved, 1
#endif
.syntax unified
.arm
.globl _vector_start
.globl _vector_end

View File

@ -47,6 +47,8 @@
****************************************************************************/
.text
.syntax unified
.arm
/****************************************************************************
* Public Functions

View File

@ -131,6 +131,8 @@
*/
.text
.syntax unified
.arm
.global __start
.type __start, #function

View File

@ -46,12 +46,8 @@
****************************************************************************/
.text
/****************************************************************************
* Public Functions
****************************************************************************/
.text
.syntax unified
.arm
/****************************************************************************
* Name: arm_vectoraddrexcptn

View File

@ -106,6 +106,8 @@
****************************************************************************/
.text
.syntax unified
.arm
/****************************************************************************
* Public Functions

View File

@ -38,6 +38,9 @@
.eabi_attribute Tag_ABI_align_preserved, 1
#endif
.syntax unified
.arm
.globl _vector_start
.globl _vector_end