Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 1998 02:44:31 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        jb@FreeBSD.ORG
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   libc_r
Message-ID:  <19981211024431V.simokawa@sat.t.u-tokyo.ac.jp>

next in thread | raw e-mail | index | archive | help
Hi,

    I encountered the link problem with libc_r on alpha because
  sigaltstack is not defineded. I don't know much about thread but
  the following patch seems to fix the problem.

Index: setjmp.S
===================================================================
RCS file: /pub/FreeBSD-CVS/src/lib/libc/alpha/gen/setjmp.S,v
retrieving revision 1.4
diff -u -r1.4 setjmp.S
--- setjmp.S	1998/08/17 03:38:54	1.4
+++ setjmp.S	1998/12/10 17:25:30
@@ -68,7 +68,7 @@
 	lda	sp, -24(sp)			/* sizeof struct sigaltstack */
 	mov	zero, a0
 	mov	sp, a1
-	CALL(sigaltstack)
+	PCALL(sigaltstack)
 	ldl	t0, 16(sp)			/* offset of ss_flags */
 	lda	sp, 24(sp)			/* sizeof struct sigaltstack */
 	ldq	ra, ((26 + 4) * 8)(s0)		/* restore return address */

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp

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?19981211024431V.simokawa>