From owner-freebsd-bugs Mon Apr 6 10:40:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA24041 for freebsd-bugs-outgoing; Mon, 6 Apr 1998 10:40:03 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA24035; Mon, 6 Apr 1998 10:40:02 -0700 (PDT) (envelope-from gnats) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA22251; Mon, 6 Apr 1998 10:34:42 -0700 (PDT) (envelope-from nobody) Message-Id: <199804061734.KAA22251@hub.freebsd.org> Date: Mon, 6 Apr 1998 10:34:42 -0700 (PDT) From: dancy@franz.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/6227: as doesn't handle this instruction Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6227 >Category: bin >Synopsis: as doesn't handle this instruction >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 6 10:40:01 PDT 1998 >Last-Modified: >Originator: Ahmon Dancy >Organization: Franz Inc. >Release: 3.0-971225-SNAP >Environment: FreeBSD news2.franz.com 3.0-971225-SNAP FreeBSD 3.0-971225-SNAP #0: Mon Feb 23 08:20:57 PST 1998 root@news2.franz.com:/usr/src/sys/compile/NEWS i386 >Description: as fails on the 4th line of this code: news2# as /tmp/test.s /tmp/test.s: Assembler messages: /tmp/test.s:6: Error: Unimplemented segment type 537464344 in parse_operand call lb1 lb1: popl %ebx movl lb3-lb1(%ebx,%ecx,4),%ecx addl %ebx,%ecx jmp *%ecx lb3: .long .lb12106-lb1 .long .lb12107-lb1 .long .lb12107-lb1 .long .lb12107-lb1 .long .lb12107-lb1 ... as on Linux handles it fine. >How-To-Repeat: Try assembling the code provided >Fix: config/tc-i386.c needs to be altered somewhere around line 1646 (in the switch statement). >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message