From owner-cvs-gnu Tue Apr 7 10:12:43 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21942 for cvs-gnu-outgoing; Tue, 7 Apr 1998 10:12:43 -0700 (PDT) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21871; Tue, 7 Apr 1998 10:12:31 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA03798; Tue, 7 Apr 1998 10:10:02 -0700 (PDT) Date: Tue, 7 Apr 1998 10:10:02 -0700 (PDT) Message-Id: <199804071710.KAA03798@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/as/config obj-aout.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/04/07 10:10:02 PDT Modified files: gnu/usr.bin/as/config obj-aout.c Log: Fix a bug which clobbered linker set symbols that had forward references. With -O3, egcs generates such forward references. PR: gnu/6055 Reviewed by: jdp Submitted by: Dmitrij Tejblum in slightly different form Revision Changes Path 1.6 +18 -2 src/gnu/usr.bin/as/config/obj-aout.c From owner-cvs-gnu Thu Apr 9 18:22:46 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18544 for cvs-gnu-outgoing; Thu, 9 Apr 1998 18:22:46 -0700 (PDT) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18183; Thu, 9 Apr 1998 18:20:47 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA01611; Thu, 9 Apr 1998 18:20:44 -0700 (PDT) Date: Thu, 9 Apr 1998 18:20:44 -0700 (PDT) Message-Id: <199804100120.SAA01611@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/as/config obj-aout.c obj-aout.h Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/04/09 18:20:41 PDT Modified files: gnu/usr.bin/as/config obj-aout.c obj-aout.h Log: Fix the assembler so that it produces object files with the correct magic number byte ordering for FreeBSD. This makes "file" describe our object files as "FreeBSD/i386 object" instead of as NetBSD object files. In case this seems drastic and risky, Bruce points out that the "ld -r -x" step that is done on every object file when building libraries fixes the byte ordering in the same way. I have been running with this patch for over a month and have seen no problems. Revision Changes Path 1.7 +1 -1 src/gnu/usr.bin/as/config/obj-aout.c 1.8 +2 -2 src/gnu/usr.bin/as/config/obj-aout.h