When I accidentally assembled 32-bit assembly source with 64-bit assembler, I got an internal error. This effectively boils down to following test case:
$ x86_64-elf64-linux-as movl $_GLOBAL_OFFSET_TABLE_, %eax ^D^D {standard input}: Assembler messages: {standard input}:1: Internal error, aborting at ../../../gas/config/tc-i386.c line 3652 in output_imm Please report this bug. $ x86_64-elf64-linux-as --version GNU assembler 2.16.1 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `x86_64-elf64-linux'. This bug probably isn't of any significance for real code, as I don't believe this code sequence could ever be used in valid code, but as asked me to report it. -- Summary: internal error [on invalid code] Product: binutils Version: 2.16 Status: NEW Severity: minor Priority: P1 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: markosc at interia dot pl CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: x86_64-elf64-linux http://sourceware.org/bugzilla/show_bug.cgi?id=2904 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils