From owner-cvs-all Wed May 24 13: 2:26 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4DBEE37BEB2; Wed, 24 May 2000 13:02:23 -0700 (PDT) (envelope-from obrien@FreeBSD.org) Received: (from obrien@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA05917; Wed, 24 May 2000 13:02:22 -0700 (PDT) (envelope-from obrien@FreeBSD.org) Message-Id: <200005242002.NAA05917@freefall.freebsd.org> From: "David E. O'Brien" <obrien@FreeBSD.org> Date: Wed, 24 May 2000 13:02:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/cc/cc1 Makefile src/gnu/usr.bin/cc/cc1obj Makefile src/gnu/usr.bin/cc/cc_int Makefile Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG obrien 2000/05/24 13:02:22 PDT Modified files: gnu/usr.bin/cc/cc1 Makefile gnu/usr.bin/cc/cc1obj Makefile gnu/usr.bin/cc/cc_int Makefile Log: 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. Revision Changes Path 1.19 +3 -2 src/gnu/usr.bin/cc/cc1/Makefile 1.12 +2 -2 src/gnu/usr.bin/cc/cc1obj/Makefile 1.26 +2 -2 src/gnu/usr.bin/cc/cc_int/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message