Date: Mon, 31 Aug 1998 12:27:20 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: jb@cimlogic.com.au, jkh@time.cdrom.com Cc: current@FreeBSD.ORG Subject: Re: The Day After, initial reports. Message-ID: <199808311627.MAA16028@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808311627.MAA16028>