mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
2e0c0ff95c
A recent commit, apparently commit
6c6fce572f
"elf: Remove /etc/suid-debug
support", resulted in localplt failures for i686-gnu and x86_64-gnu:
Missing required PLT reference: ld.so: __access_noerrno
After that commit, __access_noerrno is actually no longer used at all.
So rather than just removing the localplt expectation for that symbol
for Hurd, completely remove all definitions of and references to that
symbol.
Tested for x86_64, and with build-many-glibcs.py for i686-gnu and
x86_64-gnu.
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
libc {
|
|
GLIBC_2.0 {
|
|
# functions with a weak definition in the dynamic linker
|
|
__mmap;
|
|
}
|
|
GLIBC_2.2.6 {
|
|
# functions with a weak definition in the dynamic linker
|
|
__writev;
|
|
}
|
|
GLIBC_2.32 {
|
|
mremap;
|
|
}
|
|
GLIBC_2.35 {
|
|
close_range;
|
|
}
|
|
GLIBC_PRIVATE {
|
|
# Functions shared with the dynamic linker
|
|
__access; __libc_read; __libc_write; __libc_lseek64;
|
|
__close_nocancel;
|
|
__open_nocancel;
|
|
__read_nocancel; __pread64_nocancel;
|
|
__write_nocancel;
|
|
__getcwd;
|
|
__stat64;
|
|
|
|
_dl_init_first;
|
|
__close_nocancel_nostatus;
|
|
|
|
# functions used in other libraries
|
|
__sigprocmask;
|
|
}
|
|
}
|
|
|
|
ld {
|
|
GLIBC_2.0 {
|
|
# functions that must be shared with libc
|
|
__close; __getpid;
|
|
__mmap; __open; __read; __sbrk; __strtoul_internal;
|
|
__write; __writev;
|
|
_exit; _hurd_intr_rpc_mach_msg;
|
|
abort;
|
|
}
|
|
GLIBC_2.1 {
|
|
# functions that must be shared with libc
|
|
__pread64;
|
|
}
|
|
GLIBC_2.2 {
|
|
# functions that must be shared with libc
|
|
__open64;
|
|
}
|
|
GLIBC_2.2.6 {
|
|
# this also must be shared with libc.
|
|
__errno_location;
|
|
}
|
|
GLIBC_PRIVATE {
|
|
_dl_init_first;
|
|
|
|
# functions that must be shared with libc
|
|
__access; __libc_read; __libc_write; __libc_lseek64;
|
|
__close_nocancel;
|
|
__open_nocancel;
|
|
__read_nocancel; __pread64_nocancel;
|
|
__write_nocancel;
|
|
__getcwd;
|
|
__stat64; __fstat64;
|
|
}
|
|
}
|