diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-04-30 18:50:04 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-30 16:22:57 -0400 |
commit | 18f75b80fd67fd7348fcfb807216f654597b592f (patch) | |
tree | 5c09a03a4c5d682eccf1ce5d727affc6beea593b /arch/mips | |
parent | 4e50b2e4b5c32b804324eb6967a9ca72c9a2b654 (diff) | |
download | musl-18f75b80fd67fd7348fcfb807216f654597b592f.tar.gz musl-18f75b80fd67fd7348fcfb807216f654597b592f.tar.bz2 musl-18f75b80fd67fd7348fcfb807216f654597b592f.tar.xz musl-18f75b80fd67fd7348fcfb807216f654597b592f.zip |
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).
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/syscall_arch.h | 3 |
1 files changed, 3 insertions, 0 deletions
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) |