summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Don't explicitly define __FreeBSD__ - this is no longer necessary.dg1994-08-191-2/+2
|
* Remove reference to the ld.so man page - ain't no such animal.jkh1994-06-171-1/+0
| | | | Reported by John Lind.
* Changes from Paul Kranenburg which bring us into sync with his sources:rich1994-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.
* Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>csgr1994-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.
* Add the -r and -s flags to the Usage string.ats1994-06-051-2/+2
|
* 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.
* Better link ldconfig static instead dynamic.ats1994-04-131-2/+2
|
* Add that /usr/X386/lib is also in the default path for ldconfig. Bug foundats1994-04-051-1/+3
| | | | | by Satoshi Asami ( asami@cs.berkeley.edu ). Fixed also a minor typo problem.
* 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.
* Document existance of -Zdg1994-03-092-2/+6
|
* Handling of the netzmagic flag was completely missing after the lastdg1994-02-171-2/+7
| | | | update. This completely broke support for all ZMAGIC a.out formats.
* I yelled, I warned and now I am SCREAMING. Add -D__FreeBSD__ to CFLAGS+=rgrimes1994-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!!!
* A fast private malloc for ld.sojkh1994-02-131-0/+481
|
* This is Paul K's latest set of ld changes. A commit was necessary at thisjkh1994-02-1324-1763/+2043
| | | | | | | | | | 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).
* Changed NetBSD -> FreeBSDnate1994-02-114-8/+8
|
* 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-193-6/+7
|
* 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-122-7/+3
| | | | | | caued ld to `exit silently', to general confusion. 2. Add Gary Jennejohn's fix to support debugging of shared libraries.
* Updated man page to document new behaviour of -Z, -z and -Q flags.jkh1994-01-032-4/+14
|
* Implemented 'QMAGIC' a.out format correctly, and changed the defaultdg1994-01-035-28/+34
| | | | output to be QMAGIC.
* C++ support changes (+misc fixes) from Paul K.jkh1993-12-224-18/+69
|
* Fixed Makefile per bug report from Julian Stacey. There was an extra DESTDIRnate1993-12-162-4/+4
| | | | in front of BINDIR definition.
* Added sbrk() as new file.jkh1993-12-111-0/+101
|
* 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-1110-173/+558
|
* 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
* Added the TODO file. Also wanted to announce the previous change to rtld.cjkh1993-12-091-0/+4
| | | | | which eliminates the stack walking code (from David G.). My previous commit message was eaten by mistake!
* 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-047-255/+40
|
* Sorry, Jordan, but I restore previous version again.ache1993-12-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | You write that LDFLAGS+= -Xlinker -Bstatic no more needed, but you have CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) This -static doesn't make any sense in your version, because it not passed to linker's state (LDFLAGS), so we have SHARED /usr/bin/ld in this case. (Older Makefile produce non-shared ld). I suppose, that -static in CFLAGS was introduced to make non-shared ld, so I restore previous LDFLAGS to have non-shared ld. If we want to have shared ld we need to remove -static from CFLAGS too, not only LDFLAGS, but this need special issue and corresponding commit log. Your current version hang into intermediate state (beetween two sides), so I move it to one side. Second, I restore NOPIC dependance again from older Makefile: .if !defined(NOPIC) SUBDIR+= rtld .endif We don't need ld.so, if NOPIC P.S. I don't see any purpose to commit new makefile, old version is better.
* #ifdef DEBUG unwanted message, third time after Jordan...ache1993-12-021-2/+2
|
* Moved DEBUG conditional where it belonged to remove DEBUG code out ofnate1993-12-021-2/+2
| | | | default compilation.
* Second attempt to integrate Paul K's changes.jkh1993-12-021-1/+56
|
* Second attempt to integrate Paul K's changes.jkh1993-12-024-20/+36
|
* All -static and -Xlinker -Bstatic flags missed inache1993-12-011-4/+8
| | | | | | | newly commited Makefile. NOPIC dependance missed too! Oh it is really pain to check all that broken stuff, Please, check it *before* commit!
* #ifdef DEBUG missed by several lines!ache1993-12-011-2/+2
| | | | !!! Please, COMPILE *BEFORE* COMMIT!
* Add DEBUG #ifdef, (second time!)ache1993-12-011-1/+3
| | | | | !!! Please, anybody who update ld to NetBSD current, !!! look at old cvs logs!
* 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?
* Remove -g option (second time!)ache1993-12-011-2/+2
| | | | | !!! Please anybody who port Makefiles from NetBSD, !!! remove -g option!
* Many recent fixes from Paul K, add support for chaining of shared lib deps.jkh1993-11-3013-222/+605
|
* Added -lgcc_pic back again.jkh1993-11-251-2/+2
|
* Some of the latest changes from Paul K (taken from NetBSD-current).jkh1993-11-2211-78/+240
|
* Recent Paul K. changes for compiling X shared (tested on my box).jkh1993-11-182-3/+12
|
OpenPOWER on IntegriCloud