GAS currently doesn't allow the following syntax for ljmp when using .intel_syntax noprefix: ljmp 0x8:gdt_update_flush
The equavilent AT&T syntax is: ljmp $0x8, $gdt_update_flush. The error GAS spits out is foo.S:bar: Error: ambiguous operand size or operands invalid for `ljmp'. The current workaround I'm using is turning on .att_syntax then using the equavilent AT&T syntax. However, this is obviously suboptimal. -- Summary: GAS doesn't allow ljmp foo:bar syntax when using .intel_syntax mode Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jacob at whotookspaz dot org CC: bug-binutils at gnu dot org GCC build triplet: elf-i386 GCC host triplet: linux-elf-i386 GCC target triplet: linux-elf-i386 http://sourceware.org/bugzilla/show_bug.cgi?id=10150 ------- 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