summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-aout/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+2
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Fixed some of style bugs.ru2001-09-121-1/+1
|
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* Move the man pages for the a.out dynamic linker into the 1aoutjdp2000-01-291-2/+2
| | | | | | | section. I created rtld.1aout earlier with a repository copy. This clears the way for the ELF dynamic linker man page, which I will commit next.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Chaneg MACHINE to MACHINE_ARCH to support MACHINE=pc98.jb1998-09-051-3/+3
|
* Seperate the Paul Kranenburg a.out rtld stuff into a stand-alone area awaypeter1998-06-011-5/+3
| | | | | from the gpl ld code. This is part 2 of something that I began in 1996. A repository copy has happened behind cvs's back.
* Get rid of the dynamic linker's internal malloc package, and arrangejdp1997-11-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | things so that it uses the same malloc as is used by the program being executed. This has several advantages, the big one being that you can now debug core dumps from dynamically linked programs and get useful information out of them. Until now, that didn't work. The internal malloc package placed the tables describing the loaded shared libraries in a mapped region of high memory that was not written to core files. Thus the debugger had no way of determining what was loaded where in memory. Now that the dynamic linker uses the application's malloc package (normally, but not necessarily, the system malloc), its tables end up in the regular heap area where they will be included in core dumps. The debugger now works very well indeed, thank you very much. Also ... Bring the program a little closer to conformance with style(9). There is still a long way to go. Add minimal const correctness changes to get rid of compiler warnings caused by the recent const changes in <dlfcn.h> and <link.h>. Improve performance by eliminating redundant calculations of symbols' hash values.
* Fixed `make depend' and related bogons. LDFLAGS was used forbde1997-04-161-10/+2
| | | | | | | | | | | ld-specific flags. LDFLAGS is really for ld-related flags for cc, not for ld, and some flags, e.g., -Bshareable, mean completely different things to cc and ld. Having the wrong things in LDFLAGS also broke the standard ${PROG} target. This was kludged around by using a special rule that depended on LDFLAGS being bogus. Fixing `make depend' broke the special rule but fixed the standard rule (except in the DESTDIR case, which was handled more strictly here than elsewhere).
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Update to handle new version ld.so.hints and info in executable forpeter1996-10-011-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configurable fallback search paths, as well as new crt interface version. Also: - even faster getenv(), get all environment variable settings in a single pass. - ldd printf-like format specifications - minor code cleanups, one vsprintf -> vsnprintf (harmless) The library search sequence is a little more complete now. Before, it'd search $LD_LIBRARY_PATH (by opendir/readdir/closedir), then read the hints file, then read /usr/lib (again by scanning thr directory). It would then fail if there was no "found" library. Now, it does LD_LIBRARY_PATH and the hints file the same, but then uses a longer fallback path. The -R path is fetched from the executable if specified at build time, the ldconfig path is appended, and /usr/lib is appended to that. Duplicates are suppressed. This means that simply placing a new library in /usr/local/lib will work (the same as it did in /usr/lib) without needing ldconfig -m. It will find it quicker if the ldconfig is run though. Similar changes have been made to the NetBSD ld.so, but ours is rather different now due to John Polstra's speedups and fixes from a while back. The ldd printf-like format support came direct from NetBSD. Reviewed by: nate, jdp
* Use `install -C' instead of lots of shell commands to install ld.sobde1996-09-121-13/+2
| | | | | | | | | as atomically as possible. (Immutable targets can't be renamed without opening a window when neither the source nor the target is immutable. Perhaps there should be a rename_immutable syscall to do this if unsetting the immutable flags would work.)
* ``mv'' -> ``mv -f''wosch1996-05-071-3/+3
| | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
* Another '-' needed for make release.phk1996-01-111-2/+2
|
* Make the new realinstall target a little less draconian so that make releasephk1996-01-111-3/+3
| | | | doesn't fall over.
* Install ld.so in a way that is safe even on a running system.jdp1996-01-111-2/+13
|
* Import Paul Kranenburg's man page for ld.so (aka. rtld).joerg1995-08-261-2/+3
| | | | Obtained from: NetBSD
* Weak symbol support from NetBSD. This should bring us in sync with thenate1995-03-041-12/+2
| | | | | | | | 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
* Add LDDESTDIR to ld command.swallace1994-09-181-2/+6
| | | | Add -I${DESTDIR}/usr/include to cpp command.
* 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
|
* 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-131-10/+10
| | | | | | | | | | 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).
* Implemented 'QMAGIC' a.out format correctly, and changed the defaultdg1994-01-031-2/+2
| | | | output to be QMAGIC.
* Broke sbrk() out of rtld as part of general cleanup.jkh1993-12-111-3/+4
|
* Added -lgcc_pic back again.jkh1993-11-251-2/+2
|
* Some of the latest changes from Paul K (taken from NetBSD-current).jkh1993-11-221-2/+2
|
* Added -lgcc_pic to Makefile -- Why do we need this and NetBSD don't ??paul1993-11-091-2/+2
| | | | | 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-091-3/+3
| | | | | | | | | | | | 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-031-0/+24
OpenPOWER on IntegriCloud