]> granicus.if.org Git - libx264/commitdiff
arm: Explicitly declare using the .text segment in the function macro
authorMartin Storsjö <martin@martin.st>
Fri, 24 Mar 2017 09:33:40 +0000 (11:33 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sun, 21 May 2017 20:41:07 +0000 (22:41 +0200)
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

index 5fc1b14bc66746678df6cd91770b80ecefd66764..5eb2881f23af57570db00ed8d4b5be6bd95ee519 100644 (file)
@@ -84,6 +84,7 @@ ELF     .size   \name, . - \name
 FUNC    .endfunc
         .purgem endfunc
     .endm
+        .text
         .align  2
 .if \export == 1
         .global EXTERN_ASM\name