fix inconsistent visibility for internal syscall symbols

This commit is contained in:
Rich Felker
2015-04-14 13:48:20 -04:00
parent 72b25ddb77
commit 7405cd1e2b
12 changed files with 16 additions and 1 deletions

View File

@ -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, ...),