summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-09-0532-32/+32
| | | | Notes: svn path=/stable/2.1/; revision=50952
* Merge from main branch 1.12 -> 1.13: Fix -Wall warnings and garbageJohn Polstra1997-01-021-3/+5
| | | | | | | exit status. Notes: svn path=/stable/2.1/; revision=21201
* Merge from main branch 1.14 -> 1.15: Fix uninitialized field in objectJohn Polstra1996-07-031-1/+2
| | | | | | | file. Notes: svn path=/stable/2.1/; revision=16944
* This 3rd mega-commit should hopefully bring us back to where we were.Jordan K. Hubbard1996-06-053-48/+3
| | | | | | | I can get it to `make world' succesfully, anyway! Notes: svn path=/stable/2.1/; revision=16121
* Merge from HEAD, except:Jordan K. Hubbard1996-05-293-6/+51
| | | | | | | | | | | | Clients that used gnumalloc still do, despite the merge. We're not bringing phkmalloc over. Thread stuff left out. PCCARD support left out. Notes: svn path=/stable/2.1/; revision=15984
* Bring in changes from main branch.John Polstra1996-05-023-620/+809
| | | | | | | | | | Makefile 1.15 -> 1.18: Safer installation on a running system. rtld.1 1.2 -> 1.3: Add LD_PRELOAD, remove LD_NO_INTERN_SEARCH and LD_NOSTD_PATH. rtld.c 1.27 -> 1.33: Major speedups, code cleanups, LD_PRELOAD support. Notes: svn path=/stable/2.1/; revision=15554
* Bring in minor manual page fixups from main branch 1.7 -> 1.8.John Polstra1996-05-021-12/+12
| | | | Notes: svn path=/stable/2.1/; revision=15553
* Bring in small speedups from main branch 1.2 -> 1.3.John Polstra1996-05-021-3/+2
| | | | Notes: svn path=/stable/2.1/; revision=15552
* Bring in changes from main branch.John Polstra1996-05-024-86/+149
| | | | | | | | | | ld.c 1.29 -> 1.31: open/fopen error checking, remove LD_NOSTD_LIB ld.h 1.14 -> 1.16: prototypes for new functions in shlib.c lib.c 1.15 -> 1.16: open/fopen error checking shlib.c 1.13 -> 1.15: new functions for dynamic linker Notes: svn path=/stable/2.1/; revision=15551
* Fix to ldconfig to handle shlibs with . in their actual names.Poul-Henning Kamp1996-04-021-10/+30
| | | | | | | Taken from -current. Notes: svn path=/stable/2.1/; revision=15000
* Sync with main branch.David Greenman1995-10-051-2/+2
| | | | Notes: svn path=/stable/2.1/; revision=11224
* Brought in changes from revs 1.26-1.27: print better diagnostic informationDavid Greenman1995-09-281-17/+15
| | | | | | | on failures. Notes: svn path=/stable/2.1/; revision=11045
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'.cvs2svn1995-08-301-0/+144
| | | | Notes: svn path=/stable/2.1/; revision=10481
* Brought in changes from main branch: add rtld.1 man page.David Greenman1995-08-301-2/+3
| | | | Notes: svn path=/stable/2.1/; revision=10447
* Brought in changes from main branch: fixes for dlopen/dlclose.David Greenman1995-08-251-66/+234
| | | | Notes: svn path=/stable/2.1/; revision=10251
* Brought in change from rev 1.11: reset umask.David Greenman1995-08-251-1/+2
| | | | Notes: svn path=/stable/2.1/; revision=10250
* Brought in change from rev 1.29: make error message consistent with gcc.David Greenman1995-08-251-2/+2
| | | | Notes: svn path=/stable/2.1/; revision=10249
* Bring in changes to support `-m' flag from the HEAD.Jordan K. Hubbard1995-08-132-41/+75
| | | | Notes: svn path=/stable/2.1/; revision=10042
* (2.1.0 branch)David Greenman1995-06-281-3/+7
| | | | | | | | | Bring in changes from 1.28 - don't ignore umask when setting 'x'. Submitted by: Jeorg Wunsch Notes: svn path=/stable/2.1/; revision=9351
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'.cvs2svn1995-06-132-221/+0
| | | | Notes: svn path=/stable/2.1/; revision=9211
* Remove trailing whitespace.Rodney W. Grimes1995-05-307-49/+49
| | | | Notes: svn path=/head/; revision=8858
* Sync. up bits with Paul K. Cascade support plus some cosmetic changes.Nate Williams1995-04-211-13/+60
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=7971
* Back out my change to enforce command line linker order due toNate Williams1995-04-071-11/+8
| | | | | | | | | | | underlying bugs which are caused by mixing static/shared libraries with this change in place. The shlib code is not capable of supporting this feature in it's present state and will need significant modifications in order to do so. Notes: svn path=/head/; revision=7652
* Modify the default behavior of the linker to no longer prefer staticNate Williams1995-03-221-9/+12
| | | | | | | | | | | | | | members over shared library members. This modification causes the linker to use the first definition it sees for a symbol instead of having priorities based on the library type. This modification should allow gdb to compile again. Obtained from: Email conversation with Paul Kranenbury, but implemented completely by me. If it doesn't work, it's my fault not his. Notes: svn path=/head/; revision=7248
* Removed /usr/local/lib from the standard library search path to beNate Williams1995-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> Notes: svn path=/head/; revision=7172
* Back out Poul's hack that forces static libgcc. This has been fixed viaDavid Greenman1995-03-101-11/+2
| | | | | | | gcc instead. Notes: svn path=/head/; revision=6987
* Never again shall we link libgcc dynamic. It was a big mistake in thePoul-Henning Kamp1995-03-061-2/+11
| | | | | | | | | | | first place and we were too long in finding out. Now we know, and the damage is hard to fix. This is part one: ld will not link gcc dynamic, if specified as "-lgcc". Suggested by: dyson & davidg Notes: svn path=/head/; revision=6929
* Weak symbol support from NetBSD. This should bring us in sync with theNate Williams1995-03-0414-554/+705
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=6887
* Support for more Sun compatible dlopen() and friends. Also added proper errorJordan K. Hubbard1995-02-071-86/+204
| | | | | | | | | handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com> Notes: svn path=/head/; revision=6234
* Make ldconfig and ld.so not hashing the shared lib minor number. ThisJoerg Wunsch1995-01-122-12/+10
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=5551
* Change toSteven Wallace1995-01-051-2/+2
| | | | | | | | #define STANDARD_SEARCH_DIRS "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib" Like in 2.0R, except without /usr/X386. Notes: svn path=/head/; revision=5402
* New file from pk to aid new in developing the shlib code for newNate Williams1994-12-231-0/+192
| | | | | | | | | architectures. Obtained from: NetBSD Notes: svn path=/head/; revision=5214
* Updated to recent version of Paul K.'s shlib code. This code has betterNate Williams1994-12-2318-411/+579
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=5205
* Changed one occurrence of LD 8 to LD 1 and the OS FreeBSD 1.1 to FreeBSD 2.0.Andreas Schulz1994-12-112-6/+6
| | | | Notes: svn path=/head/; revision=5046
* Add LDDESTDIR to ld command.Steven Wallace1994-09-181-2/+6
| | | | | | | Add -I${DESTDIR}/usr/include to cpp command. Notes: svn path=/head/; revision=2856
* Unmap hints file when finished with it, so that it can go awayBruce Evans1994-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. Notes: svn path=/head/; revision=2812
* Add dependencies on libraries to DPADD. Someday this should be doneBruce Evans1994-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. Notes: svn path=/head/; revision=2375
* Install ld.so immutable.Garrett Wollman1994-08-261-1/+2
| | | | Notes: svn path=/head/; revision=2301
* Don't explicitly define __FreeBSD__ - this is no longer necessary.David Greenman1994-08-191-2/+2
| | | | Notes: svn path=/head/; revision=2127
* Remove reference to the ld.so man page - ain't no such animal.Jordan K. Hubbard1994-06-171-1/+0
| | | | | | | Reported by John Lind. Notes: svn path=/head/; revision=1755
* Changes from Paul Kranenburg which bring us into sync with his sources:Rich Murphey1994-06-1519-891/+933
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=1741
* Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>Geoff Rehmet1994-06-141-1/+10
| | | | | | | | | | | | | | | | Paul Kranenburg's description: ld is in error here, assuming that symbols with N_EXT set always have an entry in the (global) symbol table: this is not the case for C++ generated constructor/destructor symbols. I can reproduce your failure by fudging a "multiply defined" constructor symbol by hand. Checking for `g == NULL' seems to be a ok as a fence for now. So: for now, in do_file_warnings() we check if g == NULL, before trying to generate any warning messages. This prevents a NULL pointer dereference. Notes: svn path=/head/; revision=1720
* Add the -r and -s flags to the Usage string.Andreas Schulz1994-06-051-2/+2
| | | | Notes: svn path=/head/; revision=1683
* Change the private declarations from dlopen,dlclose,dlsym,dlctlAndreas Schulz1994-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. Notes: svn path=/head/; revision=1361
* Better link ldconfig static instead dynamic.Andreas Schulz1994-04-131-2/+2
| | | | Notes: svn path=/head/; revision=1360
* Add that /usr/X386/lib is also in the default path for ldconfig. Bug foundAndreas Schulz1994-04-051-1/+3
| | | | | | | | by Satoshi Asami ( asami@cs.berkeley.edu ). Fixed also a minor typo problem. Notes: svn path=/head/; revision=1336
* Due to the deletion of the gcc support from libc we need again theAndreas Schulz1994-03-101-2/+2
| | | | | | | | -lgcc_pic library. rtld uses the udivd3 routine from it. Repeat the bug by simply compiling ld on current. Notes: svn path=/head/; revision=1255
* Document existance of -ZDavid Greenman1994-03-092-2/+6
| | | | Notes: svn path=/head/; revision=1252
* Handling of the netzmagic flag was completely missing after the lastDavid Greenman1994-02-171-2/+7
| | | | | | | update. This completely broke support for all ZMAGIC a.out formats. Notes: svn path=/head/; revision=1167
* I yelled, I warned and now I am SCREAMING. Add -D__FreeBSD__ to CFLAGS+=Rodney W. Grimes1994-02-141-2/+2
| | | | | | | | so that you can bootstrap a 1.0.2 system. Please oh please no one but no one add any more #ifdef __FreeBSD__ stuff UNTIL 1.1 has SHIPPED!!! Notes: svn path=/head/; revision=1158