Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2002 00:17:31 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        alpha@freebsd.org
Subject:   Uh... can anyone justfiy these .stabs?
Message-ID:  <20020414001731.A27884@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020414001731.A27884>