bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/32363] stm r13!, {...} misassembled to push {...}


From: m.banaszek at mimuw dot edu.pl
Subject: [Bug gas/32363] stm r13!, {...} misassembled to push {...}
Date: Thu, 19 Dec 2024 19:33:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32363

--- Comment #1 from Mateusz Banaszek <m.banaszek at mimuw dot edu.pl> ---
Interestingly, for Cortex-R stm r13!, {...} is assembled correctly to
stm/stmia/stmea. An example: https://godbolt.org/z/TT3rK9anb.

I've taken this example from a comment in Zephyr OS:
https://github.com/zephyrproject-rtos/zephyr/pull/24290#issuecomment-2539903537.
It seems due to this bug, the incorrect code in Zephyr OS was working correctly
on Cortex-M and corrupting the stack only on Cortex-R.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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