#
424f7ee9 |
| 02-Nov-2024 |
nia <nia@NetBSD.org> |
Expose dladdr(3) to POSIX.1.2024 applications.
|
#
e5678be8 |
| 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 ...
|
#
52a4c27e |
| 16-Feb-2012 |
joerg <joerg@NetBSD.org> |
Add _dlauxinfo helper function to provide access to the ELF auxilary vector. This can normally be found via __ps_strings, but libc is initialised too early when linked dynamically and doesn't have ac
Add _dlauxinfo helper function to provide access to the ELF auxilary vector. This can normally be found via __ps_strings, but libc is initialised too early when linked dynamically and doesn't have access to it yet, so provide an alternative mechanism via ld.elf_so. Bump libc minor.
show more ...
|
#
c52f9a5d |
| 25-Jun-2011 |
nonaka <nonaka@NetBSD.org> |
PR/45015: ld.elf_so: support ELF symbol versioning Applied latest patch.
|
#
f1d73a2c |
| 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 ...
|
#
c6ed7679 |
| 07-Jan-2010 |
skrll <skrll@NetBSD.org> |
Typo in comment.
|
#
4c1e54d8 |
| 24-Sep-2009 |
pooka <pooka@NetBSD.org> |
Add Solarisa-like dlinfo() interface to the ELF dynamic linker. Implement RTLD_DI_LINKMAP which returns a pointer to the linkmap chain at the given object. Other Solaris queries are currently unimpl
Add Solarisa-like dlinfo() interface to the ELF dynamic linker. Implement RTLD_DI_LINKMAP which returns a pointer to the linkmap chain at the given object. Other Solaris queries are currently unimplemented.
show more ...
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
d5d85540 |
| 21-Mar-2005 |
kleink <kleink@NetBSD.org> |
Add restrict qualifiers to dlsym() (XSI) and dladdr() arguments.
|
#
19b7469a |
| 03-Feb-2005 |
perry <perry@NetBSD.org> |
de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos.
|
#
3605f021 |
| 01-Jul-2003 |
skrll <skrll@NetBSD.org> |
Remove reference to dlinfo - it doesn't exist in NetBSD.
|
#
4e9f5413 |
| 30-May-2003 |
christos <christos@NetBSD.org> |
Add RTLD_SELF, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD
|
#
4be7a2dc |
| 28-Apr-2003 |
bjh21 <bjh21@NetBSD.org> |
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour.
This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
show more ...
|
#
3f935d01 |
| 13-Jun-2000 |
simonb <simonb@NetBSD.org> |
Remove 'extern' from function declarations.
|
#
e8050aef |
| 11-Feb-2000 |
thorpej <thorpej@NetBSD.org> |
Const'ify dli_saddr in struct _dl_info.
|
#
076e309d |
| 08-Feb-2000 |
scottb <scottb@NetBSD.org> |
change first argument of dladdr to const.
|
#
196becef |
| 19-May-1999 |
kleink <kleink@NetBSD.org> |
Declare dlerror()'s return value __aconst.
|
#
7ff8549e |
| 05-Sep-1998 |
pk <pk@NetBSD.org> |
Assign my copyright to the TNF.
|
#
77a275d7 |
| 14-Jul-1998 |
tv <tv@NetBSD.org> |
Change ld.so default behavior to RTLD_LOCAL, and make RTLD_LOCAL into a new flag bit. Keep RTLD_GLOBAL as an actual flag bit so it won't be re-used, or may be used for something later. Mask the dlo
Change ld.so default behavior to RTLD_LOCAL, and make RTLD_LOCAL into a new flag bit. Keep RTLD_GLOBAL as an actual flag bit so it won't be re-used, or may be used for something later. Mask the dlopen() mode bits in ld.elf_so so a comparison against RTLD_NOW works. (RTLD_{LOCAL,GLOBAL} needs to be implemented for ld.elf_so.)
show more ...
|
#
c68cbc90 |
| 12-May-1998 |
pk <pk@NetBSD.org> |
Add dladdr() and `Dl_info' structure; interface cloned from Solaris 2.
|
#
7826b591 |
| 06-May-1998 |
kleink <kleink@NetBSD.org> |
Per XSH98, define the RTLD_LOCAL flag. In this implementation it's a NOP, since non-local searches have to be explicitly enabled via RTLD_GLOBAL.
|
#
a681a370 |
| 25-Mar-1998 |
kleink <kleink@NetBSD.org> |
Protect the dlctl() prototype and the DL_* macros against _XOPEN_SOURCE; they are neither specified by the XPG nor part of the name space reserved for implementation-defined use.
|
#
5cc521c0 |
| 15-Mar-1998 |
pk <pk@NetBSD.org> |
Define RTLD_GLOBAL.
|
#
ee945410 |
| 02-Jan-1997 |
pk <pk@NetBSD.org> |
Add `const' to dlopen() & dlsym() protos, per PR#2453. Add RTLD_NOW.
|
#
4003f324 |
| 05-Jun-1995 |
pk <pk@NetBSD.org> |
{BEGIN,END}DECLS
|