mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
hurd: Do not make sigprocmask available in ld.so
After commitf7649d5780
("dlopen: Do not block signals"), the dynamic linker no longer uses sigprocmask, which means that it does not have to be made available explicitly on hurd. This reverts commit892badc9bb
("hurd: Make __sigprocmask GLIBC_PRIVATE") and commitd5ed9ba29a
("hurd: Fix ld.so link"), but keeps the comment changes from the second commit.
This commit is contained in:
parent
3aec0c3912
commit
3dcad8158f
@ -10,7 +10,7 @@ libc {
|
||||
GLIBC_PRIVATE {
|
||||
# Functions shared with the dynamic linker
|
||||
__access; __access_noerrno; __libc_read; __libc_write; __libc_lseek64;
|
||||
__libc_lock_self0; __sigprocmask; __getcwd;
|
||||
__libc_lock_self0; __getcwd;
|
||||
|
||||
_dl_init_first;
|
||||
__close_nocancel_nostatus;
|
||||
@ -42,6 +42,6 @@ ld {
|
||||
|
||||
# functions that must be shared with libc
|
||||
__access; __access_noerrno; __libc_read; __libc_write; __libc_lseek64;
|
||||
__libc_lock_self0; __sigprocmask; __getcwd;
|
||||
__libc_lock_self0; __getcwd;
|
||||
}
|
||||
}
|
||||
|
@ -675,14 +675,6 @@ strong_alias (abort, __GI___chk_fail)
|
||||
strong_alias (abort, __GI___fortify_fail)
|
||||
strong_alias (abort, __GI___assert_fail)
|
||||
strong_alias (abort, __GI___assert_perror_fail)
|
||||
|
||||
check_no_hidden(__sigprocmask);
|
||||
int weak_function
|
||||
__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
|
||||
{
|
||||
/* We do not have signals yet at this stage. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* This function is called by interruptible RPC stubs. For initial
|
||||
dynamic linking, just use the normal mach_msg. Since this defn is
|
||||
|
@ -40,7 +40,6 @@ ld.so: __sbrk
|
||||
ld.so: __strtoul_internal
|
||||
#ld.so: _exit
|
||||
ld.so: abort
|
||||
ld.so: __sigprocmask
|
||||
ld.so: _hurd_intr_rpc_mach_msg
|
||||
ld.so: __errno_location
|
||||
# rtld_hidden is currently disabled to avoid having to special-case the
|
||||
|
Loading…
Reference in New Issue
Block a user