diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-07 08:40:41 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-07 08:41:24 +0200 |
commit | 7a5db2e82fbb6c3a6e3fdae02b7166c5d0e8c7a8 (patch) | |
tree | d67381f1001d86e3b2596a4caf857b2926bf225a /elf/tst-libc_dlvsym.c | |
parent | ceda365fbac3083e16eed07892fbd5970b3839a0 (diff) | |
download | glibc-7a5db2e82fbb6c3a6e3fdae02b7166c5d0e8c7a8.tar.gz glibc-7a5db2e82fbb6c3a6e3fdae02b7166c5d0e8c7a8.tar.xz glibc-7a5db2e82fbb6c3a6e3fdae02b7166c5d0e8c7a8.zip |
elf: Clean up GLIBC_PRIVATE exports of internal libdl symbols
They are no longer needed after everything has been moved into libc. The _dl_vsym test has to be removed because the symbol cannot be used outside libc anymore. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/tst-libc_dlvsym.c')
-rw-r--r-- | elf/tst-libc_dlvsym.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/elf/tst-libc_dlvsym.c b/elf/tst-libc_dlvsym.c deleted file mode 100644 index 823643fb1c..0000000000 --- a/elf/tst-libc_dlvsym.c +++ /dev/null @@ -1,34 +0,0 @@ -/* Compare dlvsym and __libc_dlvsym results. Dynamic version. - Copyright (C) 2017-2021 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <https://www.gnu.org/licenses/>. */ - -#include "tst-libc_dlvsym.h" - -static int -do_test (void) -{ - compare_vsyms (); - - void *handle = xdlopen ("tst-libc_dlvsym-dso.so", RTLD_LAZY); - void (*compare) (void) = xdlsym (handle, "compare_vsyms_global"); - compare (); - xdlclose (handle); - - return 0; -} - -#include <support/test-driver.c> |