| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
consistant. Programs shouldn't rely on non-standard paths for bringing
in default libraries.
Suggested by: Andreas Schulz <ats@freebsd.first.gmd.de>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed. Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.
Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.
|
|
|
|
|
| |
#define STANDARD_SEARCH_DIRS "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib"
Like in 2.0R, except without /usr/X386.
|
|
|
|
|
|
|
|
|
|
| |
warning handling and allows for link-time warnings with a modified
version of gas.
Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.
Obtained from: NetBSD
|
|
|
|
| |
Add -I${DESTDIR}/usr/include to cpp command.
|
|
|
|
|
|
|
| |
completely when ldconfig unlinks it. If init is shared, then the
referenced unlinked copy of the hints file created by running
ldconfig in /etc/rc caused the file system to be unclean after
every reboot.
|
|
|
|
|
|
| |
automagically. -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handling of errors through the standard err() and warn()
more fixes for Geoff Rehmet's NULL pointer bug.
fixes NULL pointer bugs when linking mono and nested X servers.
supports a `-nostdlib' option.
accept object files without a symbol table
don't attempt dynamic linking when `-A' is given
a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.
I tested 'make world' for /usr/src and X twice with these changes.
|
|
|
|
|
|
| |
to public. These functions are also used in /usr/include/link.h,
so it looks, like they shouldn't be private.
I will ask Paul about that, if this is correct.
|
|
|
|
|
| |
-lgcc_pic library. rtld uses the udivd3 routine from it.
Repeat the bug by simply compiling ld on current.
|
|
|
|
|
|
|
|
|
|
| |
late stage due to the fact that link.h was copyright Sun Microsystems.
This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed). Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).
|
|
|
|
|
| |
these are handled by /etc/rc and this was causing errors on a new
install as these places do NOT exsist by default!
|
| |
|
| |
|
|
|
|
|
|
| |
caued ld to `exit silently', to general confusion.
2. Add Gary Jennejohn's fix to support debugging of shared libraries.
|
|
|
|
| |
output to be QMAGIC.
|
| |
|
| |
|
|
|
|
| |
different from NetBSD's here and it squeaked through the update.
|
| |
|
|
|
|
|
| |
preprocessed the same as when they are compiled. I just remove the
single-quotes from the offending comments. Rich
|
|
|
|
| |
(no more sbrk_init()!).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add missing argument to findshlib, I am not shure,
but it seems that it is 1.
!!! Does anybody compile it before commit?
|
| |
|
| |
|
| |
|
|
|
|
| |
ZMAGIC magic numbers in a long.
|
|
|
|
|
| |
Incorporated patch by Guido (inspired by Davidg) that fixes stack
problem. May not be final fix but it works more than the current method.
|
|
|
|
|
|
|
|
|
|
|
|
| |
lib.c:
Pull in archives containing definitions needed by shared objects.
warnings.c:
Less spurious "undefined symbol" msgs for shared library defined
symbols.
ld.c:
Do a better job of recognising data in text segments, eg. `const char []'.
shlib.c,ld/rtld/{Makefile rtld.c}
Use strsep() in stead of strtok() and restore colons in eg. env. vars.
|
| |
|
|
|