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:
parent
8ee2ed0b91
commit
d321080351
@ -68,6 +68,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: __cpu[n]_start
|
* Name: __cpu[n]_start
|
||||||
|
@ -47,6 +47,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
|
@ -168,6 +168,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
.global __start
|
.global __start
|
||||||
.type __start, #function
|
.type __start, #function
|
||||||
|
|
||||||
|
@ -197,6 +197,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
.global __start
|
.global __start
|
||||||
.type __start, #function
|
.type __start, #function
|
||||||
|
|
||||||
|
@ -46,12 +46,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
/****************************************************************************
|
.arm
|
||||||
* Public Functions
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
.text
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: arm_vectoraddrexcptn
|
* Name: arm_vectoraddrexcptn
|
||||||
|
@ -152,6 +152,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
|
@ -38,6 +38,9 @@
|
|||||||
.eabi_attribute Tag_ABI_align_preserved, 1
|
.eabi_attribute Tag_ABI_align_preserved, 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
|
|
||||||
.globl _vector_start
|
.globl _vector_start
|
||||||
.globl _vector_end
|
.globl _vector_end
|
||||||
|
|
||||||
|
@ -47,6 +47,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
|
@ -131,6 +131,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
.global __start
|
.global __start
|
||||||
.type __start, #function
|
.type __start, #function
|
||||||
|
|
||||||
|
@ -46,12 +46,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
/****************************************************************************
|
.arm
|
||||||
* Public Functions
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
.text
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: arm_vectoraddrexcptn
|
* Name: arm_vectoraddrexcptn
|
||||||
|
@ -106,6 +106,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
|
@ -38,6 +38,9 @@
|
|||||||
.eabi_attribute Tag_ABI_align_preserved, 1
|
.eabi_attribute Tag_ABI_align_preserved, 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
.syntax unified
|
||||||
|
.arm
|
||||||
|
|
||||||
.globl _vector_start
|
.globl _vector_start
|
||||||
.globl _vector_end
|
.globl _vector_end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user