aboutsummaryrefslogtreecommitdiff
path: root/include/link.h
Commit message (Collapse)AuthorAgeFilesLines
* include: General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-1/+3
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326192
* Initiate deorbit burn for the i386-only a.out related support. Moves arePeter Wemm2002-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 Notes: svn path=/head/; revision=103436
* Use sys/link_elf.h or sys/link_aout.h based on compile environmentPeter Wemm2002-08-221-284/+3
| | | | Notes: svn path=/head/; revision=102286
* Breath deep and take __P out of the system include files.Warner Losh2002-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. Notes: svn path=/head/; revision=93032
* style(9) the structure definitions.David E. O'Brien2001-09-051-1/+1
| | | | Notes: svn path=/head/; revision=83047
* 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