From nobody  Mon Apr  6 10:34:42 1998
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
Subject: as doesn't handle this instruction
X-Send-Pr-Version: www-1.0

>Number:         6227
>Category:       bin
>Synopsis:       as doesn't handle this instruction
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr  6 10:40:01 PDT 1998
>Closed-Date:    Mon Jan 18 12:43:06 PST 1999
>Last-Modified:  Mon Jan 18 12:49:51 PST 1999
>Originator:     Ahmon Dancy
>Release:        3.0-971225-SNAP
>Organization:
Franz Inc.
>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).


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rnordier 
State-Changed-When: Mon Jan 18 12:43:06 PST 1999 
State-Changed-Why:  
The new ELF as handles this correctly. 
>Unformatted:
