mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-21 20:54:25 +03:00
fix inconsistent visibility for internal syscall symbols
This commit is contained in:
parent
72b25ddb77
commit
7405cd1e2b
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,%function
|
||||
__syscall:
|
||||
uxtw x8,w0
|
||||
|
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,%function
|
||||
__syscall:
|
||||
mov ip,sp
|
||||
|
@ -59,6 +59,7 @@ __vsyscall6:
|
||||
ret
|
||||
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,@function
|
||||
__syscall:
|
||||
lea 24(%esp),%eax
|
||||
|
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,@function
|
||||
__syscall:
|
||||
addi r12, r5, 0 # Save the system call number
|
||||
|
@ -1,6 +1,7 @@
|
||||
.set noreorder
|
||||
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,@function
|
||||
__syscall:
|
||||
move $2, $4
|
||||
|
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,@function
|
||||
__syscall:
|
||||
l.ori r11, r3, 0
|
||||
|
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,@function
|
||||
__syscall:
|
||||
mr 0, 3 # Save the system call number
|
||||
|
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall, @function
|
||||
__syscall:
|
||||
! The kernel syscall entry point documents that the trap number indicates
|
||||
|
@ -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, ...),
|
||||
|
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,@function
|
||||
__syscall:
|
||||
movq %rdi,%rax
|
||||
|
@ -1,4 +1,5 @@
|
||||
.global __syscall
|
||||
.hidden __syscall
|
||||
.type __syscall,@function
|
||||
__syscall:
|
||||
movq %rdi,%rax
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "pthread_impl.h"
|
||||
#include "syscall.h"
|
||||
|
||||
#ifdef SHARED
|
||||
__attribute__((__visibility__("hidden")))
|
||||
#endif
|
||||
long __syscall_cp_c();
|
||||
|
||||
static long sccp(syscall_arg_t nr,
|
||||
syscall_arg_t u, syscall_arg_t v, syscall_arg_t w,
|
||||
syscall_arg_t x, syscall_arg_t y, syscall_arg_t z)
|
||||
|
Loading…
x
Reference in New Issue
Block a user