[x264-devel] [PATCH 01/14] aarch64: Use the const macro in the aarch64 checkasm assembly source

Luca Barbato lu_zero at gentoo.org
Fri Mar 24 12:13:33 CET 2017


On 24/03/2017 10:33, Martin Storsjö wrote:
> This fixes building the source with clang for iOS without gas-preprocessor.
> ---
>  tools/checkasm-aarch64.S | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tools/checkasm-aarch64.S b/tools/checkasm-aarch64.S
> index 3d0cca8..d1105af 100644
> --- a/tools/checkasm-aarch64.S
> +++ b/tools/checkasm-aarch64.S
> @@ -25,9 +25,7 @@
>  
>  #include "../common/aarch64/asm.S"
>  
> -.section .rodata
> -.align 4
> -register_init:
> +const register_init
>  .quad 0x21f86d66c8ca00ce
>  .quad 0x75b6ba21077c48ad
>  .quad 0xed56bb2dcb3c7736
> @@ -46,10 +44,12 @@ register_init:
>  .quad 0xd229e1f5b281303f
>  .quad 0x71aeaff20b095fd9
>  .quad 0xab63e2e11fa38ed9
> +endconst
>  
>  
> -error_message:
> +const error_message
>  .asciz "failed to preserve register"
> +endconst
>  
>  .text
>  
> 

Looks good.


More information about the x264-devel mailing list