[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/20934] New: wrong replacements for ld/sd on mips-o32 abi
From: |
ma.jiang at zte dot com.cn |
Subject: |
[Bug gas/20934] New: wrong replacements for ld/sd on mips-o32 abi |
Date: |
Tue, 06 Dec 2016 08:36:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20934
Bug ID: 20934
Summary: wrong replacements for ld/sd on mips-o32 abi
Product: binutils
Version: 2.28 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: ma.jiang at zte dot com.cn
Target Milestone: ---
Hi all,
When using mips-o32 abi, gas will replace ld/sd into lw/sw. This behavior
seems strange. The gas could produce wrong codes easily without any warnings.
Using "gas -mabi=32", a "ld $v0, ($a1)" will be silently translated into "lw
v0,0(a1);lw v1,4(a1)". IMO, this is NOT right, because the v1 register is
changed and the coder probably could not notice this.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/20934] New: wrong replacements for ld/sd on mips-o32 abi,
ma.jiang at zte dot com.cn <=