summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-aout
Commit message (Collapse)AuthorAgeFilesLines
* Sync. up bits with Paul K. Cascade support plus some cosmetic changes.nate1995-04-211-13/+60
| | | | Obtained from: NetBSD
* Removed /usr/local/lib from the standard library search path to benate1995-03-191-2/+2
| | | | | | | consistant. Programs shouldn't rely on non-standard paths for bringing in default libraries. Suggested by: Andreas Schulz <ats@freebsd.first.gmd.de>
* Weak symbol support from NetBSD. This should bring us in sync with thenate1995-03-046-196/+132
| | | | | | | | 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-87/+205
| | | | | | handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com>
* Make ldconfig and ld.so not hashing the shared lib minor number. Thisjoerg1995-01-121-6/+5
| | | | | | | | | | 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.
* Change toswallace1995-01-051-2/+2
| | | | | #define STANDARD_SEARCH_DIRS "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib" Like in 2.0R, except without /usr/X386.
* Updated to recent version of Paul K.'s shlib code. This code has betternate1994-12-235-46/+52
| | | | | | | | | | 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 LDDESTDIR to ld command.swallace1994-09-181-2/+6
| | | | Add -I${DESTDIR}/usr/include to cpp command.
* Unmap hints file when finished with it, so that it can go awaybde1994-09-151-1/+21
| | | | | | | 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.
* Add dependencies on libraries to DPADD. Someday this should be donebde1994-08-281-2/+3
| | | | | | 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.
* Install ld.so immutable.wollman1994-08-261-1/+2
|
* Changes from Paul Kranenburg which bring us into sync with his sources:rich1994-06-155-83/+118
| | | | | | | | | | | | | | 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.
* Change the private declarations from dlopen,dlclose,dlsym,dlctlats1994-04-131-10/+10
| | | | | | 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.
* Due to the deletion of the gcc support from libc we need again theats1994-03-101-2/+2
| | | | | -lgcc_pic library. rtld uses the udivd3 routine from it. Repeat the bug by simply compiling ld on current.
* This is Paul K's latest set of ld changes. A commit was necessary at thisjkh1994-02-136-490/+761
| | | | | | | | | | 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).
* Remove /usr/X386/lib and /usr/local/lib from the default locations,rgrimes1994-02-091-2/+2
| | | | | these are handled by /etc/rc and this was causing errors on a new install as these places do NOT exsist by default!
* Removed dependance on EX_DYNAMIC in making decisions on the magic number.dg1994-01-192-3/+5
|
* More proper fix for for shared lib debugging support.jkh1994-01-141-2/+2
|
* 1. Fix bug where duplicate symbol warnings were suppressed. This oftenjkh1994-01-121-2/+2
| | | | | | caued ld to `exit silently', to general confusion. 2. Add Gary Jennejohn's fix to support debugging of shared libraries.
* Implemented 'QMAGIC' a.out format correctly, and changed the defaultdg1994-01-033-12/+23
| | | | output to be QMAGIC.
* C++ support changes (+misc fixes) from Paul K.jkh1993-12-221-12/+43
|
* Broke sbrk() out of rtld as part of general cleanup.jkh1993-12-112-45/+6
|
* Omitted 4th argument to findshlib() [thanks Rich!]. Our ld is a bitjkh1993-12-111-3/+3
| | | | different from NetBSD's here and it squeaked through the update.
* Sync up with Paul K's latest ld from cesium.jkh1993-12-112-4/+62
|
* makedepend fails for ld. I think it because the .S files arejkh1993-12-101-3/+3
| | | | | preprocessed the same as when they are compiled. I just remove the single-quotes from the offending comments. Rich
* David Greenman's latest changes to eliminate much stack-walking jazzjkh1993-12-091-94/+8
| | | | (no more sbrk_init()!).
* More changes to bring FreeBSD in sync with Paul K's latest.jkh1993-12-041-3/+3
|
* More changes to bring FreBSD in sync with Paul K's latest.jkh1993-12-041-27/+2
|
* Second attempt to integrate Paul K's changes.jkh1993-12-021-1/+56
|
* Remove hanging #else part (with second sbrk()) without #if & #endifache1993-12-011-55/+3
| | | | | | Add missing argument to findshlib, I am not shure, but it seems that it is 1. !!! Does anybody compile it before commit?
* Many recent fixes from Paul K, add support for chaining of shared lib deps.jkh1993-11-304-7/+92
|
* Added -lgcc_pic back again.jkh1993-11-251-2/+2
|
* Some of the latest changes from Paul K (taken from NetBSD-current).jkh1993-11-224-25/+80
|
* Incorporated fixes from Paul to make -Z option work. Emits old-stylepaul1993-11-151-2/+5
| | | | ZMAGIC magic numbers in a long.
* Added -lgcc_pic to Makefile -- Why do we need this and NetBSD don't ??paul1993-11-092-18/+13
| | | | | Incorporated patch by Guido (inspired by Davidg) that fixes stack problem. May not be final fix but it works more than the current method.
* Updated to newest ld from pk.paul1993-11-093-9/+11
| | | | | | | | | | | | 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.
* Added -lgcc_pic to LDFLAGS in rtld/Makefilepaul1993-11-071-2/+2
|
* Imported NetBSD's ld for shared libs.paul1993-11-038-0/+1958
OpenPOWER on IntegriCloud