diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-02 07:32:20 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-02 09:06:10 +0200 |
commit | a23c28ec0d1cd67d25972181f613ef6dbfe4e299 (patch) | |
tree | a6dd4e7c1a2ebb65af836b87e8b441ae6ece357a /sysdeps/unix/sysv/linux/s390 | |
parent | c44838ebf8b8da0795d56e05b477c5d2b37b4a19 (diff) | |
download | glibc-a23c28ec0d1cd67d25972181f613ef6dbfe4e299.tar.gz glibc-a23c28ec0d1cd67d25972181f613ef6dbfe4e299.tar.xz glibc-a23c28ec0d1cd67d25972181f613ef6dbfe4e299.zip |
dlfcn: Move dlerror into libc
The symbol was moved using scripts/move-symbol-to-libc.py. There is a minor functionality enhancement: dlerror now sets errno if it was set as part of the exception. (This is the result of using %m in asprintf, to avoid the strerror PLT call.) The previous errno value upon function return was unpredictable. Documenting this as a feature is premature; we need to make sure that the error codes are meaningful when they are set by the dynamic loader. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390')
4 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist index b699dedcc1..5050039c86 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist @@ -395,6 +395,7 @@ GLIBC_2.0 difftime F GLIBC_2.0 dirfd F GLIBC_2.0 dirname F GLIBC_2.0 div F +GLIBC_2.0 dlerror F GLIBC_2.0 dprintf F GLIBC_2.0 drand48 F GLIBC_2.0 drand48_r F @@ -2390,6 +2391,7 @@ GLIBC_2.34 cnd_init F GLIBC_2.34 cnd_signal F GLIBC_2.34 cnd_timedwait F GLIBC_2.34 cnd_wait F +GLIBC_2.34 dlerror F GLIBC_2.34 execveat F GLIBC_2.34 mtx_destroy F GLIBC_2.34 mtx_init F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist index 7826fde951..62dfb3059d 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist @@ -1,6 +1,5 @@ GLIBC_2.0 dladdr F GLIBC_2.0 dlclose F -GLIBC_2.0 dlerror F GLIBC_2.0 dlopen F GLIBC_2.0 dlsym F GLIBC_2.1 dlopen F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist index 94209858b1..4baccfe878 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist @@ -695,6 +695,7 @@ GLIBC_2.2 difftime F GLIBC_2.2 dirfd F GLIBC_2.2 dirname F GLIBC_2.2 div F +GLIBC_2.2 dlerror F GLIBC_2.2 dngettext F GLIBC_2.2 dprintf F GLIBC_2.2 drand48 F @@ -2276,6 +2277,7 @@ GLIBC_2.34 cnd_init F GLIBC_2.34 cnd_signal F GLIBC_2.34 cnd_timedwait F GLIBC_2.34 cnd_wait F +GLIBC_2.34 dlerror F GLIBC_2.34 execveat F GLIBC_2.34 mtx_destroy F GLIBC_2.34 mtx_init F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist index 8110e39ce4..88c2b76660 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist @@ -1,6 +1,5 @@ GLIBC_2.2 dladdr F GLIBC_2.2 dlclose F -GLIBC_2.2 dlerror F GLIBC_2.2 dlopen F GLIBC_2.2 dlsym F GLIBC_2.2 dlvsym F |