From owner-cvs-all Fri Mar 12 17:36: 0 1999 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 3038614D7B; Fri, 12 Mar 1999 17:35:58 -0800 (PST) (envelope-from jdp@FreeBSD.org) Received: (from jdp@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id RAA96704; Fri, 12 Mar 1999 17:35:44 -0800 (PST) (envelope-from jdp@FreeBSD.org) Message-Id: <199903130135.RAA96704@freefall.freebsd.org> From: John Polstra Date: Fri, 12 Mar 1999 17:35:44 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/csu/i386-elf crtbegin.c src/sys/sys param.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jdp 1999/03/12 17:35:44 PST Modified files: lib/csu/i386-elf crtbegin.c sys/sys param.h Log: Reverse the order of processing object files within an executable or shared library when invoking global constructors and destructors. For constructors, the object files used to be processed from first to last; now they're done from last to first. (Destructors are done in the opposite order, as required by the C++ standard.) This makes us consistent with standard gcc and egcs compilers. It also eliminates ordering differences between dynamic and static executables. Bump the value of __FreeBSD_version to 400002 to reflect this change. Revision Changes Path 1.3 +3 -3 src/lib/csu/i386-elf/crtbegin.c 1.42 +2 -2 src/sys/sys/param.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message