[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/5034] New: Error: `QWORD PTR __CTOR_END__-8[rip]' is not a vali
From: |
rask at sygehus dot dk |
Subject: |
[Bug gas/5034] New: Error: `QWORD PTR __CTOR_END__-8[rip]' is not a valid base/index expression |
Date: |
14 Sep 2007 10:07:36 -0000 |
The following is rejected by gas:
.intel_syntax noprefix
mov rax, QWORD PTR __CTOR_END__-8[rip]
These equivalent instructions are accepted by gas as expected:
mov rax, QWORD PTR __CTOR_END__+-8[rip]
mov rax, QWORD PTR -8+__CTOR_END__[rip]
mov rax, QWORD PTR __CTOR_END__[rip-8]
Ofcourse the variant that gas rejects is the one which GCC emits. :-(
--
Summary: Error: `QWORD PTR __CTOR_END__-8[rip]' is not a valid
base/index expression
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: rask at sygehus dot dk
CC: bug-binutils at gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=5034
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/5034] New: Error: `QWORD PTR __CTOR_END__-8[rip]' is not a valid base/index expression,
rask at sygehus dot dk <=