Bug 4460 - x86 assembler is broken
Summary: x86 assembler is broken
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.18
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 23:07 UTC by H.J. Lu
Modified: 2007-05-04 01:01 UTC (History)
2 users (show)

See Also:
Host:
Target: x86_64-unknown-linux-gnu
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2007-05-03 23:07:41 UTC
[hjl@gnu-2 line-2]$ cat foo.s
# 1 "/usr/include/asm/unistd.h" 1 3 4
 mov x@GOTPCREL (%rip), %rax
[hjl@gnu-2 line-2]$ ./as -o foo.o foo.s
/usr/include/asm/unistd.h: Assembler messages:
/usr/include/asm/unistd.h:1: Internal error!
Assertion failure in operand at /export/gnu/src/binutils/binutils/gas/expr.c
line 1310.
Please report this bug.
[hjl@gnu-2 line-2]$
Comment 1 H.J. Lu 2007-05-03 23:23:43 UTC
Alan, your --enable-checking for gas patch triggers this. Can you take a look?
Thanks.