]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move c-decl.c out of the common libcc_int.a into the binary Makefiles
authorobrien <obrien@FreeBSD.org>
Wed, 24 May 2000 20:02:21 +0000 (20:02 +0000)
committerobrien <obrien@FreeBSD.org>
Wed, 24 May 2000 20:02:21 +0000 (20:02 +0000)
commit2a9348d6af788cde877b36a4d5d6bbe8d6e3d3ed
tree760df413a012cbe894958337ab8706fe4d0d7f1f
parentac5003302a05f7a1c3b285159b6250f1575de1fa
Move c-decl.c out of the common libcc_int.a into the binary Makefiles
where it is used.  c-decl has symbols that conflict with several of the
cc1plus sources.

GNU `ld' was changed in Dec 1999 to be more be compatable with the way that
other linkers work (specifically in the Solaris linker).  The 2.9.1 `ld',
did the Wrong Thing in that if a library contained a common symbol that
matched a definition of that symbol in another (already linked in object)
it would also be linked in, even if there was no other reason to do so.
This is wrong.  The library should only be linked in if it contains
non-common, non-weak symbols which are needed by previously linked in
objects.
gnu/usr.bin/cc/cc1/Makefile
gnu/usr.bin/cc/cc1obj/Makefile
gnu/usr.bin/cc/cc_int/Makefile