freebsd-dev/gnu/usr.bin/ld
Geoff Rehmet 86a13e77dd Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>
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.
1994-06-14 12:45:41 +00:00
..
i386 This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
ldconfig Add the -r and -s flags to the Usage string. 1994-06-05 19:04:11 +00:00
ldd This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
rtld Change the private declarations from dlopen,dlclose,dlsym,dlctl 1994-04-13 20:52:40 +00:00
sparc This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
cplus-dem.c Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
etc.c This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
ld.1 Document existance of -Z 1994-03-09 14:28:02 +00:00
ld.1aout Document existance of -Z 1994-03-09 14:28:02 +00:00
ld.c Handling of the netzmagic flag was completely missing after the last 1994-02-17 03:57:00 +00:00
ld.h This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
lib.c This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
Makefile I yelled, I warned and now I am SCREAMING. Add -D__FreeBSD__ to CFLAGS+= 1994-02-14 10:02:13 +00:00
rrs.c This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
shlib.c This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
symbol.c This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00
symseg.h Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
TODO Added the TODO file. Also wanted to announce the previous change to rtld.c 1993-12-09 17:53:08 +00:00
warnings.c Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za> 1994-06-14 12:45:41 +00:00
xbits.c This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00