From 18f75b80fd67fd7348fcfb807216f654597b592f Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 30 Apr 2015 18:50:04 +0100 Subject: fix __syscall declaration with wrong visibility in syscall_arch.h remove __syscall declaration where it is not needed (aarch64, arm, microblaze, or1k) and add the hidden attribute where it is (mips). --- arch/mips/syscall_arch.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/mips/syscall_arch.h') diff --git a/arch/mips/syscall_arch.h b/arch/mips/syscall_arch.h index 69b8154f..1b1179c4 100644 --- a/arch/mips/syscall_arch.h +++ b/arch/mips/syscall_arch.h @@ -3,6 +3,9 @@ ((union { long long ll; long l[2]; }){ .ll = x }).l[1] #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x)) +#ifdef SHARED +__attribute__((visibility("hidden"))) +#endif long (__syscall)(long, ...); #define SYSCALL_RLIM_INFINITY (-1UL/2) -- cgit v1.2.1