[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/14758] New: ppc64 insns incorrectly assembled in 32-bit mode
From: |
amodra at gmail dot com |
Subject: |
[Bug gas/14758] New: ppc64 insns incorrectly assembled in 32-bit mode |
Date: |
Wed, 24 Oct 2012 05:29:55 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14758
Bug #: 14758
Summary: ppc64 insns incorrectly assembled in 32-bit mode
Product: binutils
Version: 2.24 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27619#c15
cat > lwa.s <<\EOF
.text
lwa 3,address@hidden(4)
EOF
as -a32 -mppc64 -o lwa.o lwa.s
objdump -Many -dr lwa.o
[snip]
0: e8 64 00 00 ld r3,0(r4)
2: R_PPC_ADDR16_LO ext
So the assembler loses the bottom two bits of the insn, turning lwa into ld.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gas/14758] New: ppc64 insns incorrectly assembled in 32-bit mode,
amodra at gmail dot com <=
- [Bug gas/14758] ppc64 insns incorrectly assembled in 32-bit mode, amodra at gmail dot com, 2012/10/24
- [Bug gas/14758] ppc64 insns incorrectly assembled in 32-bit mode, bergner at vnet dot ibm.com, 2012/10/24
- [Bug gas/14758] ppc64 insns incorrectly assembled in 32-bit mode, amodra at gmail dot com, 2012/10/24
- [Bug gas/14758] ppc64 insns incorrectly assembled in 32-bit mode, cvs-commit at gcc dot gnu.org, 2012/10/25
- [Bug gas/14758] ppc64 insns incorrectly assembled in 32-bit mode, amodra at gmail dot com, 2012/10/25