From owner-freebsd-current Mon Aug 31 09:28:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12961 for freebsd-current-outgoing; Mon, 31 Aug 1998 09:28:22 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA12940 for ; Mon, 31 Aug 1998 09:28:20 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id MAA16028; Mon, 31 Aug 1998 12:27:20 -0400 (EDT) (envelope-from luoqi) Date: Mon, 31 Aug 1998 12:27:20 -0400 (EDT) From: Luoqi Chen Message-Id: <199808311627.MAA16028@lor.watermarkgroup.com> To: jb@cimlogic.com.au, jkh@time.cdrom.com Subject: Re: The Day After, initial reports. Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Nope, I'm afraid those changes were innocuous. This is something > weirder, I think. The compiler is spitting out something which the > ELF assembler doesn't like, to wit: > > su-2.01# /usr/libexec/elf/as -v -o machdep.o machdep.s > GNU assembler version 2.8.1 (i386-unknown-freebsdelf), using BFD version 2.8.1 > machdep.s: Assembler messages: > machdep.s:919: Error: operands given don't match any known 386 instruction > machdep.s:920: Error: operands given don't match any known 386 instruction > > if you look at the location in question, the error is on: > .. > cmpl %esi,curpcb > jne .L352 > movl _udatasel,%ecx > #APP > mov %ecx,%fs <-- XXX these two > mov %ecx,%gs lines XXX -- > > #NO_APP > .L352: > movl 8(%ebp),%ecx > movl 272(%ecx),%eax > andb $254,212(%eax) > > %fs? %gs? Interesting! :-) > It was bad inline assembly code I wrote, should tell gcc explicitly to use 16bit register. The a.out assembler tolerated the mistake. The fix has been committed. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message