From a23c28ec0d1cd67d25972181f613ef6dbfe4e299 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 2 Jun 2021 07:32:20 +0200 Subject: 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 --- sysdeps/unix/sysv/linux/hppa/libdl.abilist | 1 - 1 file changed, 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/hppa/libdl.abilist') diff --git a/sysdeps/unix/sysv/linux/hppa/libdl.abilist b/sysdeps/unix/sysv/linux/hppa/libdl.abilist index 7826fde951..62dfb3059d 100644 --- a/sysdeps/unix/sysv/linux/hppa/libdl.abilist +++ b/sysdeps/unix/sysv/linux/hppa/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 -- cgit 1.4.1