arch/armv7-r: Fix armclang build warning: L6306W
When a function is known to preserve eight-byte alignment of the stack, armclang assigns the build attribute Tag_ABI_align_preserved to that function. However, the armclang integrated assembler does not automatically assign this attribute to assembly code. Signed-off-by: xiangdong6 <xiangdong6@xiaomi.com>
This commit is contained in:
parent
ae8ea29379
commit
924c3d8b5f
@ -34,6 +34,10 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARM_TOOLCHAIN_ARMCLANG
|
||||
.eabi_attribute Tag_ABI_align_preserved, 1
|
||||
#endif
|
||||
|
||||
.globl _vector_start
|
||||
.globl _vector_end
|
||||
|
||||
|
@ -34,6 +34,10 @@
|
||||
* Public Symbols
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARM_TOOLCHAIN_ARMCLANG
|
||||
.eabi_attribute Tag_ABI_align_preserved, 1
|
||||
#endif
|
||||
|
||||
.globl _vector_start
|
||||
.globl _vector_end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user