[x264-devel] [PATCH 08/14] arm: Explicitly declare using the .text segment in the function macro

Martin Storsjö martin at martin.st
Fri Mar 24 10:33:40 CET 2017


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.)
---
 common/arm/asm.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/arm/asm.S b/common/arm/asm.S
index 5fc1b14..5eb2881 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
-- 
2.7.4



More information about the x264-devel mailing list