From owner-freebsd-alpha Mon Apr 15 6:37: 5 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id 6EE7937B404; Mon, 15 Apr 2002 06:36:58 -0700 (PDT) Received: from mailgate.nlsystems.com ([62.49.251.130] helo=herring.nlsystems.com) by anchor-post-34.mail.demon.net with esmtp (Exim 3.35 #1) id 16x6fB-000MC8-0Y; Mon, 15 Apr 2002 14:36:57 +0100 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.12.2/8.11.2) with ESMTP id g3FDauTG000921; Mon, 15 Apr 2002 14:36:56 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Mon, 15 Apr 2002 14:36:56 +0100 (BST) From: Doug Rabson To: "David O'Brien" Cc: Subject: Re: Uh... can anyone justfiy these .stabs? In-Reply-To: <20020414001731.A27884@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 14 Apr 2002, David O'Brien wrote: > 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? The stabs line is pointless as far as I can see. Just delete it rather than commenting it out. > > 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. There is some small chance that this file would be needed again if we were trying to support kernel builds without gcc (e.g. compaq's alpha cc). Pretty tenuous, I'll admit. For gcc, it should be removed from the link, I guess. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message