mirror of git://sourceware.org/git/glibc.git
htl: move __thread_set_pcsptp into libc.
Message-ID: <20250815181500.107433-9-gfleury@disroot.org>
This commit is contained in:
parent
2dcb8fb8e7
commit
e0b765d9ba
|
|
@ -41,7 +41,6 @@ libpthread-routines := \
|
|||
pt-docancel \
|
||||
pt-sysdep \
|
||||
pt-setup \
|
||||
pt-machdep \
|
||||
pt-spin \
|
||||
pt-sigstate-init \
|
||||
pt-kill \
|
||||
|
|
@ -154,6 +153,7 @@ routines := \
|
|||
pt-init-specific \
|
||||
pt-key-create \
|
||||
pt-key-delete \
|
||||
pt-machdep \
|
||||
pt-mutex-checklocked \
|
||||
pt-mutex-consistent \
|
||||
pt-mutex-destroy \
|
||||
|
|
|
|||
|
|
@ -256,6 +256,7 @@ libc {
|
|||
__pthread_thread_start;
|
||||
__pthread_thread_terminate;
|
||||
__pthread_wakeup;
|
||||
__thread_set_pcsptp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -69,6 +69,6 @@ __pthread_stack_dealloc (void *stackaddr, size_t stacksize)
|
|||
extern int __thread_set_pcsptp (thread_t thread,
|
||||
int set_pc, void *pc,
|
||||
int set_sp, void *sp, int set_tp, void *tp);
|
||||
|
||||
libc_hidden_proto (__thread_set_pcsptp)
|
||||
|
||||
#endif /* pt-sysdep.h */
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
#include <mach/i386/mach_i386.h>
|
||||
#include <mach/mig_errors.h>
|
||||
#include <mach/thread_status.h>
|
||||
#include <pt-sysdep.h>
|
||||
|
||||
#define HURD_TLS_DESC_DECL(desc, tcb) \
|
||||
struct descriptor desc = \
|
||||
|
|
@ -80,3 +81,4 @@ __thread_set_pcsptp (thread_t thread,
|
|||
|
||||
return 0;
|
||||
}
|
||||
libc_hidden_def (__thread_set_pcsptp)
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
#include <mach/x86_64/mach_i386.h>
|
||||
#include <mach/mig_errors.h>
|
||||
#include <mach/thread_status.h>
|
||||
#include <pt-sysdep.h>
|
||||
|
||||
int
|
||||
__thread_set_pcsptp (thread_t thread,
|
||||
|
|
@ -71,3 +72,4 @@ __thread_set_pcsptp (thread_t thread,
|
|||
|
||||
return 0;
|
||||
}
|
||||
libc_hidden_def (__thread_set_pcsptp)
|
||||
|
|
|
|||
Loading…
Reference in New Issue