From: Martin Storsjö Date: Fri, 24 Mar 2017 09:33:40 +0000 (+0200) Subject: arm: Explicitly declare using the .text segment in the function macro X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e9bd88f27ed8f5f058e7e220070b7a15965cb8e;p=libx264 arm: Explicitly declare using the .text segment in the function macro This fixes one issue in building with MS armasm via gas-preprocessor. Without the .text segment specification, the object files assembled fine, but linking failed. (armasm source files don't get the text/code segment implied automatically if nothing is specified.) --- diff --git a/common/arm/asm.S b/common/arm/asm.S index 5fc1b14b..5eb2881f 100644 --- a/common/arm/asm.S +++ b/common/arm/asm.S @@ -84,6 +84,7 @@ ELF .size \name, . - \name FUNC .endfunc .purgem endfunc .endm + .text .align 2 .if \export == 1 .global EXTERN_ASM\name