History log of /netbsd/tests/libexec/ld.elf_so/Makefile (Results 1 – 20 of 20)
Revision Date Author Comments
# 75c33a36 03-Jun-2023 lukem <lukem@NetBSD.org>

adapt to ${CC_WNO_MAYBE_UNINITIALIZED}

Use ${CC_WNO_MAYBE_UNINITIALIZED} instead of
the older style more complex expressions.

Remove workarounds if they were for a specific
version of gcc < 10.


# de3d7550 02-Jun-2023 riastradh <riastradh@NetBSD.org>

ld.elf_so: Test dynamic-then-static abuse via ctor.

XXX pullup-10


# f12a23f2 02-Jun-2023 riastradh <riastradh@NetBSD.org>

ld.elf_so: Test another edge case of mismatched TLS models.

One library defines a symbol and _doesn't_ use it, so it has no
indication of whether the symbol is for static TLS or dynamic TLS,
and the

ld.elf_so: Test another edge case of mismatched TLS models.

One library defines a symbol and _doesn't_ use it, so it has no
indication of whether the symbol is for static TLS or dynamic TLS,
and then two other libraries use it in different ways.

XXX pullup-10

show more ...


# 11203a21 01-Jun-2023 riastradh <riastradh@NetBSD.org>

ld.elf_so: Test TLS abuse of static def, dynamic use and vice versa.

XXX pullup-10


# 804ec5ad 01-Jun-2023 riastradh <riastradh@NetBSD.org>

ld.elf_so: Test extern dynamic TLS too.

XXX pullup-10


# 0e58e050 31-May-2023 riastradh <riastradh@NetBSD.org>

ld.elf_so: Nix inadvertently committed private test program.


# fdb8cd5a 31-May-2023 riastradh <riastradh@NetBSD.org>

ld.elf_so: Fix extern TLS test to match PR toolchain/50277.

Now it's actually testing the problem.


# 8f4e9248 31-May-2023 riastradh <riastradh@NetBSD.org>

ld.elf_so: New test for extern initial-exec TLS, PR toolchain/50277.

XXX pullup-10


# 89aaa830 30-May-2021 joerg <joerg@NetBSD.org>

Drop explicit -msecure-plt, it's the default for both clang and gcc.


# db4fcf92 22-Sep-2020 kamil <kamil@NetBSD.org>

Add new RTLD test file for r_debug

New tests:
- self
- dlopen

Both check whether the r_debug structure seems to be well-formed, without
and with a dlopen(3) call.


# 3307268e 14-May-2019 christos <christos@NetBSD.org>

clang ifunc's on powerpc require secure-plt.


# 44436c4d 11-Jul-2017 joerg <joerg@NetBSD.org>

Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
functions are used for destructors of thread_local objects.

If a pending destructor exists, prevent unloading of shared objects.
Intr

Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
functions are used for destructors of thread_local objects.

If a pending destructor exists, prevent unloading of shared objects.
Introduce __dl_cxa_refcount interface for this purpose. When the last
reference is gone and the object has been dlclose'd before, the
unloading is finalized.

Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists
on providing __cxa_thread_atexit as direct wrapper without further
patching.

show more ...


# 259cdc64 25-Aug-2014 joerg <joerg@NetBSD.org>

Add basic support for indirect functions. It allows providing a public
function symbol with an implementation choosen at run time.
Refactor calls to functions by address in ld.elf_so to create tempor

Add basic support for indirect functions. It allows providing a public
function symbol with an implementation choosen at run time.
Refactor calls to functions by address in ld.elf_so to create temporary
function descriptors on the stack, if the address is not leaked outside.

Limitations:
- no support for initialising static storage with function pointers
- no support for unnamed resolver functions

Inspired by FreeBSD's r228435 by kib@freebsd.org.

show more ...


# 5ab0562f 03-Jul-2011 mrg <mrg@NetBSD.org>

avoid building stuff that depends upon pic objects if MKPIC == no.


# e18f30a2 03-Jul-2011 mrg <mrg@NetBSD.org>

only build the ld.elf_so tests if MKPIC != no.


# 07fac769 25-Jun-2011 nonaka <nonaka@NetBSD.org>

PR/45015: ld.elf_so: support ELF symbol versioning
Applied latest patch.


# c0faba35 31-Mar-2011 joerg <joerg@NetBSD.org>

Add initial regression test for ld.elf_so locking.


# 3cd6f367 24-Dec-2010 skrll <skrll@NetBSD.org>

Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked
objects, and the RTLD_NODELETE and RTLD_NOLOAD flags to dlopen(3).

Mark libpthread as DF_1_NOOPEN and use it to test the functiona

Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked
objects, and the RTLD_NODELETE and RTLD_NOLOAD flags to dlopen(3).

Mark libpthread as DF_1_NOOPEN and use it to test the functionality.

Somewhat taken from FreeBSD.

Fixes PR 42029.

OK from christos and joerg.

show more ...


# 77c3da54 14-Dec-2010 skrll <skrll@NetBSD.org>

Convert a couple of old regress tests to ATF.

Remove the regress/usr.bin/rtld/dlopen/dlopen.c test as well as it's
covered by existing ATF test(s).


# b4d274c0 24-Sep-2009 pooka <pooka@NetBSD.org>

add regression tests for dlinfo()