https://sourceware.org/bugzilla/show_bug.cgi?id=22493
Bug ID: 22493
Summary: push {sp} fails on mcpu=cortex-a7
Product: binutils
Version: 2.29
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: [email protected]
Target Milestone: ---
Target: cortex-a7
The arm-none-eabi-as translates "push {sp}" wrong.
Instead of "stmfd sp!, {sp}" im getting "str sp, [sp, #-4]!".
This str is UNPREDICTABLE says ARMv7-A Refmanual (the cortex a7 throws an
undefined).
Because it uses writeback and Rn == Rt.
Im referencing to this doc:
http://liris.cnrs.fr/~mmrissa/lib/exe/fetch.php?media=armv7-a-r-manual.pdf (ARM
DDI 0406C.b (ID072512))
Chapter A8.8.205, page 676.
And im not getting a warning!
If im typing "str sp, [sp, #-4]!" manually I get a warning.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils