| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
# 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.
|
| |
|
|
|
|
|
|
| |
"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.
|
| |
|
| |
|
| |
|
|
|
|
| |
nlist.h.
|
|
|
|
|
| |
belong here. The standard place for them is <dlfcn.h>, and there is
already another copy of the prototypes there.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
int's to gid_t and uid_t - should I commit these, too?
Closes PR misc/2625.
Submitted by: Julian Assange <proff@iq.org>
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
dlfcn.h and link.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
of a bunch of system include files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
handling.
Reviewed by: gj
Submitted by: Mark Diekhans <markd@grizzly.com>
|
|
|
|
|
|
| |
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.
|
|
|