History log of /freebsd-10.0-release/include/link.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 103436 16-Sep-2002 peter

Initiate deorbit burn for the i386-only a.out related support. Moves are
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


# 102286 22-Aug-2002 peter

Use sys/link_elf.h or sys/link_aout.h based on compile environment


# 93032 23-Mar-2002 imp

Breath deep and take __P out of the system include files.

# 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.


# 83047 04-Sep-2001 obrien

style(9) the structure definitions.


# 66043 18-Sep-2000 jdp

Update the prototype for "r_brk" to correspond with the change in
"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.


# 50473 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 36311 23-May-1998 dfr

Add GDB support for ELF shared libs.


# 33137 06-Feb-1998 jdp

Implement dladdr.


# 31584 06-Dec-1997 jdp

Move nlist related defines from link.h into nlist.h. Clean up
nlist.h.


# 31441 28-Nov-1997 jdp

Remove the prototypes for dlopen and related functions. They don't
belong here. The standard place for them is <dlfcn.h>, and there is
already another copy of the prototypes there.


# 31342 22-Nov-1997 brian

const correctness for dl*()


# 27838 02-Aug-1997 jdp

Implement dlsym(RTLD_NEXT, symbol).


# 25551 07-May-1997 eivind

Back out all of yesterdays include file changes.


# 25520 07-May-1997 eivind

Make a lot of include-files self-contained. I excluded the patches changing
int's to gid_t and uid_t - should I commit these, too?

Closes PR misc/2625.

Submitted by: Julian Assange <proff@iq.org>


# 23037 23-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


# 18801 07-Oct-1996 scrappy

Fixed the wrong include file for a "prototype mismatch" error between
dlfcn.h and link.h


# 18799 07-Oct-1996 scrappy

dlfcn.h and link.h have conflicting declarations for dlopen/dlsym,
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


# 18591 30-Sep-1996 peter

Add support for storing a -R path in ld in the section dispatch table,
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)


# 13771 30-Jan-1996 mpp

Fix a bunch of spelling errors in the comment fields
of a bunch of system include files.


# 9335 27-Jun-1995 dfr

Change ld.so to correctly load dependant libraries for dlopen and unload them
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>


# 6887 04-Mar-1995 nate

Weak symbol support from NetBSD. This should bring us in sync with the
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


# 6232 07-Feb-1995 jkh

Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by: gj
Submitted by: Mark Diekhans <markd@grizzly.com>


# 1156 13-Feb-1994 jkh

This is the new link.h from Paul K. Keeping history is even probably a bad
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.


# 697 03-Nov-1993 paul

Added link.h for shared libs.