arm/arm: generating assemble code in ARM states by default

The following changes omit the arm version:

| commit d321080351
| Author: chao an <anchao@xiaomi.com>
| Date:   Fri Dec 2 02:52:18 2022 +0800
|
|     arm/cortex-[a|r]: generating assemble code in ARM states by default
|
|     Signed-off-by: chao an <anchao@xiaomi.com>

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-12-02 12:07:48 +08:00 committed by Xiang Xiao
parent fc4493b7f1
commit c1c17794f9
6 changed files with 13 additions and 6 deletions

View File

@ -37,6 +37,8 @@
****************************************************************************/ ****************************************************************************/
.text .text
.syntax unified
.arm
/* Control functions caches and the write buffer c7 /* Control functions caches and the write buffer c7
* Register c7 controls the caches and the write buffer. The function of each cache * Register c7 controls the caches and the write buffer. The function of each cache

View File

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

View File

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

View File

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

View File

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

View File

@ -34,6 +34,9 @@
* Public Symbols * Public Symbols
****************************************************************************/ ****************************************************************************/
.syntax unified
.arm
.globl _vector_start .globl _vector_start
.globl _vector_end .globl _vector_end