aboutsummaryrefslogtreecommitdiff
path: root/include/link.h
Commit message (Collapse)AuthorAgeFilesLines
* Update the prototype for "r_brk" to correspond with the change inJohn Polstra2000-09-181-1/+2
| | | | | | | | | "src/libexec/rtld-elf/rtld.c" revision 1.48. This eliminates a warning when building the dynamic linker, and it doesn't seem to hurt anything else. Notes: svn path=/head/; revision=66043
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50473
* Add GDB support for ELF shared libs.Doug Rabson1998-05-231-1/+30
| | | | Notes: svn path=/head/; revision=36311
* Implement dladdr.John Polstra1998-02-061-1/+8
| | | | Notes: svn path=/head/; revision=33137
* Move nlist related defines from link.h into nlist.h. Clean upJohn Polstra1997-12-061-14/+3
| | | | | | | nlist.h. Notes: svn path=/head/; revision=31584
* Remove the prototypes for dlopen and related functions. They don'tJohn Polstra1997-11-281-10/+1
| | | | | | | | belong here. The standard place for them is <dlfcn.h>, and there is already another copy of the prototypes there. Notes: svn path=/head/; revision=31441
* const correctness for dl*()Brian Somers1997-11-221-8/+8
| | | | Notes: svn path=/head/; revision=31342
* Implement dlsym(RTLD_NEXT, symbol).John Polstra1997-08-021-1/+3
| | | | Notes: svn path=/head/; revision=27838
* Back out all of yesterdays include file changes.Eivind Eklund1997-05-071-4/+1
| | | | Notes: svn path=/head/; revision=25551
* Make a lot of include-files self-contained. I excluded the patches changingEivind Eklund1997-05-071-1/+4
| | | | | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org> Notes: svn path=/head/; revision=25520
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-231-1/+1
| | | | Notes: svn path=/head/; revision=23037
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Fixed the wrong include file for a "prototype mismatch" error betweenMarc G. Fournier1996-10-081-3/+3
| | | | | | | dlfcn.h and link.h Notes: svn path=/head/; revision=18801
* dlfcn.h and link.h have conflicting declarations for dlopen/dlsym,Marc G. Fournier1996-10-071-3/+3
| | | | | | | | | | | | | | | | | with dlfcn.h declaring them as: void *dlopen __P((const char *, int)); void *dlsym __P((void *, const char *)); while link.h declared them as extern void *dlopen __P((char *, int)); extern void *dlsym __P((void *, char *)); Fix link.h to match dlfcn.h Notes: svn path=/head/; revision=18799
* Add support for storing a -R path in ld in the section dispatch table,Peter Wemm1996-10-011-2/+5
| | | | | | | | | | | | support LD_HINTS_VERSION_2 that has the ldconfig pathname stored in the ld.so.hints file (ie: a new library can be installed and used without needing to run ldconfig -m first) Reviewed by: nate, jdp Obtained from: NetBSD (mostly) Notes: svn path=/head/; revision=18591
* Fix a bunch of spelling errors in the comment fieldsMike Pritchard1996-01-301-4/+4
| | | | | | | of a bunch of system include files. Notes: svn path=/head/; revision=13771
* Change ld.so to correctly load dependant libraries for dlopen and unload themDoug Rabson1995-06-271-6/+14
| | | | | | | | | | | | | | | | | | | | on dlclose. Also correctly call constructors and destructors for libraries linked with /usr/lib/c++rt0.o. Change interpretation of dlopen manpage to call _init() rather than init() for dlopened objects. Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to call destructors when an object is unloaded. Change interface between crt0 and ld.so to allow crt0 to call a function on exit to call destructors for shared libraries explicitly. These changes are backwards compatible. Old binaries will work with the new ld.so and new binaries will work with the old ld.so. A version number has been introduced in the crt0-ld.so interface to allow for future changes. Reviewed by: GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us> Notes: svn path=/head/; revision=9335
* Weak symbol support from NetBSD. This should bring us in sync with theNate Williams1995-03-041-5/+10
| | | | | | | | | | | NetBSD ld code except for local changes for dlopen() and friends and the hashing on the minor value of the shlibs. We should be binary compatible now with all their libraries. Obtained from: NetBSD Notes: svn path=/head/; revision=6887
* Support for more Sun compatible dlopen() and friends. Also added proper errorJordan K. Hubbard1995-02-071-8/+3
| | | | | | | | | handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com> Notes: svn path=/head/; revision=6232
* This is the new link.h from Paul K. Keeping history is even probably a badJordan K. Hubbard1994-02-131-89/+144
| | | | | | | | | idea considering the old version (but I haven't time for attic surgery - this is just a caution). This is part of (and the major reason for) the new ld changes. Notes: svn path=/head/; revision=1156
* Added link.h for shared libs.Paul Richards1993-11-031-0/+234
Notes: svn path=/head/; revision=697