nis: Build libnsl with 64 bit time_t
[glibc.git] / elf / tst-dlopen-tlsmodid.c
blob374a37a1c1f60cec1a34e79fc8b629c32c24d143
1 /* Test case for BZ #16634. Non-PIE version.
3 Verify that incorrectly dlopen()ing an executable without
4 __RTLD_OPENEXEC does not cause assertion in ld.so, and that it
5 actually results in an error.
7 Copyright (C) 2014-2022 Free Software Foundation, Inc.
8 This file is part of the GNU C Library.
10 The GNU C Library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 The GNU C Library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public
21 License along with the GNU C Library; if not, see
22 <https://www.gnu.org/licenses/>. */
24 #define TST_DLOPEN_TLSMODID_PATH "tst-dlopen-self"
25 #include "tst-dlopen-tlsmodid.h"