summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld/warnings.c
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Fixed missing prototype for address_to_line(). One call passes anbde1999-07-041-1/+2
| | | | | int where an unsigned long is expected. This was fatal on i386's with 64-bit longs.
* Fixed printf format errors.bde1998-06-301-5/+9
|
* 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.
* Changes to make ld demangle C++ symbol names before printingjmacd1997-01-111-16/+31
| | | | | | error messages containing them. Reviewed by: Peter Wemm
* Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also dealpeter1996-10-011-1/+33
| | | | | | | | | | with the -R option and store the path in the dynamic header when specified. The $LD_RUN_PATH environment variable is not checked yet. While here, split up the code a bit more to enable more selective replacing of GPL'ed components that are linked with ld.so with others. Obtained from: NetBSD (mostly, the breakup is my fault)
* General -Wall warning cleanup, part I.jkh1996-07-121-4/+4
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Weak symbol support from NetBSD. This should bring us in sync with thenate1995-03-041-16/+52
| | | | | | | | 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
* Updated to recent version of Paul K.'s shlib code. This code has betternate1994-12-231-113/+116
| | | | | | | | | | 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
* Changes from Paul Kranenburg which bring us into sync with his sources:rich1994-06-151-124/+84
| | | | | | | | | | | | | | 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.
* This is Paul K's latest set of ld changes. A commit was necessary at thisjkh1994-02-131-30/+28
| | | | | | | | | | 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).
* 1. Fix bug where duplicate symbol warnings were suppressed. This oftenjkh1994-01-121-5/+1
| | | | | | caued ld to `exit silently', to general confusion. 2. Add Gary Jennejohn's fix to support debugging of shared libraries.
* C++ support changes (+misc fixes) from Paul K.jkh1993-12-221-1/+5
|
* Sync up with Paul K's latest ld from cesium.jkh1993-12-111-23/+20
|
* Updated to newest ld from pk.paul1993-11-091-2/+2
| | | | | | | | | | | | 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.
* Imported NetBSD's ld for shared libs.paul1993-11-031-0/+755
OpenPOWER on IntegriCloud