]> git.sesse.net Git - x264/blobdiff - common/arm/mc-a.S
arm: Eliminate text relocations in asm
[x264] / common / arm / mc-a.S
index 7e5f78c704180426aa95d6f8250e725fb58acfea..767ab1067aac6225979e9e6f8f25c9be935f20e2 100644 (file)
@@ -140,12 +140,13 @@ MEMCPY_ALIGNED 16, 8
 MEMCPY_ALIGNED  8, 16
 MEMCPY_ALIGNED  8, 8
 
-.section .rodata
-memcpy_table:
+const memcpy_table align=2, relocate=1
 .word memcpy_aligned_16_16_neon
 .word memcpy_aligned_16_8_neon
 .word memcpy_aligned_8_16_neon
 .word memcpy_aligned_8_8_neon
+endconst
+
 .text
 
 .ltorg