summaryrefslogtreecommitdiffstats
path: root/include/link.h
Commit message (Collapse)AuthorAgeFilesLines
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-4/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Use sys/link_elf.h or sys/link_aout.h based on compile environmentpeter2002-08-221-284/+3
|
* Breath deep and take __P out of the system include files.imp2002-03-231-8/+7
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* style(9) the structure definitions.obrien2001-09-051-1/+1
|
* Update the prototype for "r_brk" to correspond with the change injdp2000-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.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Add GDB support for ELF shared libs.dfr1998-05-231-1/+30
|
* Implement dladdr.jdp1998-02-061-1/+8
|
* Move nlist related defines from link.h into nlist.h. Clean upjdp1997-12-061-14/+3
| | | | nlist.h.
* Remove the prototypes for dlopen and related functions. They don'tjdp1997-11-281-10/+1
| | | | | belong here. The standard place for them is <dlfcn.h>, and there is already another copy of the prototypes there.
* const correctness for dl*()brian1997-11-221-8/+8
|
* Implement dlsym(RTLD_NEXT, symbol).jdp1997-08-021-1/+3
|
* Back out all of yesterdays include file changes.eivind1997-05-071-4/+1
|
* Make a lot of include-files self-contained. I excluded the patches changingeivind1997-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>
* Revert $FreeBSD$ to $Id$peter1997-02-231-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Fixed the wrong include file for a "prototype mismatch" error betweenscrappy1996-10-081-3/+3
| | | | dlfcn.h and link.h
* dlfcn.h and link.h have conflicting declarations for dlopen/dlsym,scrappy1996-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
* Add support for storing a -R path in ld in the section dispatch table,peter1996-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)
* Fix a bunch of spelling errors in the comment fieldsmpp1996-01-301-4/+4
| | | | of a bunch of system include files.
* Change ld.so to correctly load dependant libraries for dlopen and unload themdfr1995-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>
* Weak symbol support from NetBSD. This should bring us in sync with thenate1995-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
* Support for more Sun compatible dlopen() and friends. Also added proper errorjkh1995-02-071-8/+3
| | | | | | handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com>
* This is the new link.h from Paul K. Keeping history is even probably a badjkh1994-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.
* Added link.h for shared libs.paul1993-11-031-0/+234
OpenPOWER on IntegriCloud