From 7405cd1e2bafc046b4311005b94092d74a7a9c66 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 14 Apr 2015 13:48:20 -0400 Subject: fix inconsistent visibility for internal syscall symbols --- src/internal/syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal/syscall.h') diff --git a/src/internal/syscall.h b/src/internal/syscall.h index e3a8c5d6..a93f6d1e 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -17,7 +17,7 @@ typedef long syscall_arg_t; #endif -#if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303) +#ifdef SHARED __attribute__((visibility("hidden"))) #endif long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...), -- cgit v1.2.1