freebsd-dev/gnu
John Polstra 725f849afd Fix a bug involving alias (N_INDR) symbols. When building a shared
library with a shared object dependency that contained alias symbols,
the linker incorrectly counted the number of symbols that would be
written, resulting in a fatal internal error.  Since our libc now
contains some alias symbols (in "net/res_stubs.c"), this was
sufficient to tickle the bug:  "ld -Bshareable foo.so -lc".  To
fix it, I moved the accounting of alias symbols to a later point
in the processing, where it is possible to count only those symbols
that will actually be written to the output file.

This fix is well-confined to affect alias symbols only.  I have
tested it with a full "make world".  I am going to merge it into
-2.2 after a few more days of living with it in -current.
1997-02-01 20:28:38 +00:00
..
gnu2bmake Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
include Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
lib Go on one of my periodic rampages through this code, trying to make 1997-01-17 08:19:19 +00:00
libexec Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
usr.bin Fix a bug involving alias (N_INDR) symbols. When building a shared 1997-02-01 20:28:38 +00:00
usr.sbin Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
COPYING Updated GNU utilities 1993-06-18 04:22:21 +00:00
COPYING.LIB Adding GPL docs, make structure. 1993-06-18 06:05:45 +00:00
Makefile Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00