bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

x64 movabs only supports rax as the destination if source is a symbol


From: William Bardwell
Subject: x64 movabs only supports rax as the destination if source is a symbol
Date: Tue, 22 Jun 2010 11:50:48 -0400

movabs $1, %rax
movabs $1, %r11
both work fine and generate appropriate code, but:
    movabs foo, %rax
works and
    movabs foo, %r11
doesn't.


Tested with:
GNU assembler version 2.17.50.0.6-14.el5 (x86_64-redhat-linux) using BFD 
version 2.17.50.0.6-14.el5 20061020
but I think that 2.2 has the same issue.

William Bardwell
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]