From owner-freebsd-alpha Sun Apr 14 0:18:52 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 32C0F37B41B for ; Sun, 14 Apr 2002 00:18:49 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3E7IlYm027946 for ; Sun, 14 Apr 2002 00:18:47 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3E7HVQs027944 for alpha@freebsd.org; Sun, 14 Apr 2002 00:17:31 -0700 (PDT) Date: Sun, 14 Apr 2002 00:17:31 -0700 From: "David O'Brien" To: alpha@freebsd.org Subject: Uh... can anyone justfiy these .stabs? Message-ID: <20020414001731.A27884@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jeffr and I finally managed to get a Gcc 3.1 compiled kernel to link! I a little frustrating -- it seems we once again Asm directives a new toolchain does not like. With Binutils 2.11 it was the ".loc" directives. This time ".stabs". W/o this patch: alpha/alpha/pal.s:75: relocation truncated to fit: REFLONG .text alpha/alpha/prom_disp.s:67: relocation truncated to fit: REFLONG .text Does anyone know why this patch would be bad? BTW, do we actually use pal.s for anything? A kernel links fine with out it. It seems we 100% use in-line macros rather than these routines. Index: pal.s =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/pal.s,v retrieving revision 1.6 diff -u -r1.6 pal.s --- pal.s 14 Apr 2002 07:07:09 -0000 1.6 +++ pal.s 14 Apr 2002 07:08:42 -0000 @@ -42,7 +42,7 @@ __KERNEL_RCSID(1, "$NetBSD: pal.s,v 1.12 1998/02/27 03:44:53 thorpej Exp $"); __FBSDID("$FreeBSD: src/sys/alpha/alpha/pal.s,v 1.6 2002/04/14 07:07:09 obrien Exp $"); -inc2: .stabs __FILE__,132,0,0,inc2 +/* inc2: .stabs __FILE__,132,0,0,inc2 */ .text .loc 1 __LINE__ Index: prom_disp.s =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/prom_disp.s,v retrieving revision 1.4 diff -u -r1.4 prom_disp.s --- prom_disp.s 28 May 2001 09:52:20 -0000 1.4 +++ prom_disp.s 14 Apr 2002 07:02:16 -0000 @@ -39,7 +39,7 @@ .text .align 4 -inc3: .stabs __FILE__,132,0,0,inc3 +/* inc3: .stabs __FILE__,132,0,0,inc3 */ .text .loc 1 __LINE__ /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message