From owner-freebsd-current Mon Jul 9 10:27: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.kobe1995.net (211.12.126.15.user.dt.il24.net [211.12.126.15]) by hub.freebsd.org (Postfix) with ESMTP id A933F37B403; Mon, 9 Jul 2001 10:26:54 -0700 (PDT) (envelope-from kaz@kobe1995.net) Received: from beauty.kobe1995.net (beauty [192.168.0.6]) by ns.kobe1995.net (8.8.8/3.7W-primary) with ESMTP id CAA15208; Tue, 10 Jul 2001 02:26:33 +0900 (JST) Received: (from kaz@localhost) by beauty.kobe1995.net (8.11.3/3.4Wbeta6-glove) id f69HQXp00571; Tue, 10 Jul 2001 02:26:33 +0900 (JST) Date: Tue, 10 Jul 2001 02:26:33 +0900 (JST) Message-Id: <200107091726.f69HQXp00571@beauty.kobe1995.net> To: obrien@FreeBSD.ORG, Alexander@Leidinger.net, sobomax@FreeBSD.ORG, current@FreeBSD.ORG, djhill@novagate.net Cc: kaz@kobe1995.net Subject: Re: GNU ld(1) dumps core In-Reply-To: Your message of "Sat, 30 Jun 2001 14:13:44 +0900 (JST)". <200106300513.OAA16161@ns.kobe1995.net> From: kaz@kobe1995.net (NAKAMURA Kazushi) X-Mailer: mnews [version 1.22] 1999-12/19(Sun) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is my self follow. In article <200106300513.OAA16161@ns.kobe1995.net> kaz@kobe1995.net writes: >>I just committed Binutils 2.11.2. Please let me know if this helps or >>not. > Thank you! But there remain a problem about gas+ld. Linking bug.C >(Message-Id: <200106261716.CAA02226@ns.kobe1995.net>) results error It was "asm()" error. The fix of bug.C is: --- bug.C- Wed Jun 27 01:52:42 2001 +++ bug.C Mon Jul 9 07:16:28 2001 @@ -34,16 +34,16 @@ for(i=0;i<4;i++) printf("%f,",B[i]); printf("\b)\n"); - asm("movaps (%0),%%xmm0" //SSE + asm("movaps %0,%%xmm0" //SSE : - :"g"(A)); - asm("movaps (%0),%%xmm1" //SSE + :"g"(*A)); + asm("movaps %0,%%xmm1" //SSE : - :"g"(B)); + :"g"(*B)); asm("addps %xmm1,%xmm0"); //SSE // asm("mulps %xmm1,%xmm0"); //SSE - asm("movaps %%xmm0,%0":"=g"(C)); //SSE + asm("movaps %%xmm0,%0":"=g"(*C)); //SSE printf("float C=("); for(i=0;i<4;i++) printf("%f,",C[i]); printf("\b)\n"); Thank you very much. > sa2c@and.or.jp -- NAKAMURA Kazushi@KOBE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message