aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/arm/include/arch/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/include/arch/asm.h')
-rw-r--r--src/arch/arm/include/arch/asm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/arm/include/arch/asm.h b/src/arch/arm/include/arch/asm.h
index a57ce4daf..420fa602a 100644
--- a/src/arch/arm/include/arch/asm.h
+++ b/src/arch/arm/include/arch/asm.h
@@ -43,16 +43,14 @@
END(name)
#define ENTRY(name) \
- .globl name; \
+ .section .text.name, "ax", %progbits; \
+ .global name; \
ALIGN; \
name:
#define END(name) \
.size name, .-name
-/* Everything should go into the text section by default. */
- .text
-
/* Thumb code uses the (new) unified assembly syntax. */
THUMB( .syntax unified )