# HG changeset patch # User mru # Date 1278533381 0 # Node ID d6e87496883ba39845788ff55f3302aca0756e1e # Parent 2a6873ee2fc99549987976cf0ecf911fc0895fc3 ARM: set section to .text in 'function' macro This ensures code always goes into the .text section and avoids the need to specify it explicitly after changing sections. diff -r 2a6873ee2fc9 -r d6e87496883b arm/asm.S --- a/arm/asm.S Wed Jul 07 20:09:37 2010 +0000 +++ b/arm/asm.S Wed Jul 07 20:09:41 2010 +0000 @@ -40,6 +40,7 @@ .endfunc .purgem endfunc .endm + .text .if \export .global EXTERN_ASM\name EXTERN_ASM\name: