From: mayeut Date: Fri, 23 Feb 2018 22:31:02 +0000 (+0100) Subject: Make SIMD symbols private for iOS ARM/ARM64 builds X-Git-Tag: 1.5.90~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bef5df776a7fca2e864eb3d6b2eecfc195dd2cb;p=libjpeg-turbo Make SIMD symbols private for iOS ARM/ARM64 builds --- diff --git a/simd/arm/jsimd_neon.S b/simd/arm/jsimd_neon.S index cd26127..b01958e 100644 --- a/simd/arm/jsimd_neon.S +++ b/simd/arm/jsimd_neon.S @@ -7,7 +7,7 @@ * Copyright (C) 2014, Siarhei Siamashka. All Rights Reserved. * Copyright (C) 2014, Linaro Limited. All Rights Reserved. * Copyright (C) 2015, D. R. Commander. All Rights Reserved. - * Copyright (C) 2015-2016, Matthieu Darbois. All Rights Reserved. + * Copyright (C) 2015-2016, 2018, Matthieu Darbois. All Rights Reserved. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages @@ -46,6 +46,7 @@ /* Supplementary macro for setting function attributes */ .macro asm_function fname #ifdef __APPLE__ + .private_extern _\fname .globl _\fname _\fname: #else diff --git a/simd/arm64/jsimd_neon.S b/simd/arm64/jsimd_neon.S index 3309858..87e3009 100644 --- a/simd/arm64/jsimd_neon.S +++ b/simd/arm64/jsimd_neon.S @@ -7,7 +7,7 @@ * Copyright (C) 2013-2014, Linaro Limited. All Rights Reserved. * Author: Ragesh Radhakrishnan * Copyright (C) 2014-2016, D. R. Commander. All Rights Reserved. - * Copyright (C) 2015-2016, Matthieu Darbois. All Rights Reserved. + * Copyright (C) 2015-2016, 2018, Matthieu Darbois. All Rights Reserved. * Copyright (C) 2016, Siarhei Siamashka. All Rights Reserved. * * This software is provided 'as-is', without any express or implied @@ -42,6 +42,7 @@ /* Supplementary macro for setting function attributes */ .macro asm_function fname #ifdef __APPLE__ + .private_extern _\fname .globl _\fname _\fname: #else