bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25108] gas will not assemble legal thumb-1 ADR if -march=armv4


From: rcwhaley at iu dot edu
Subject: [Bug gas/25108] gas will not assemble legal thumb-1 ADR if -march=armv4t is thrown
Date: Tue, 15 Oct 2019 23:51:13 +0000

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

R. Clint Whaley <rcwhaley at iu dot edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from R. Clint Whaley <rcwhaley at iu dot edu> ---
Sorry, the example I gave shouldn't work in ARMv4T, because its a negative
offset, which is unsupported.

My case in actual code seems to be a different problem, which is also my not
seeing restrictions in ISA: the offset only takes multiples of 4, but thumb
instructions are only 2-bytes long, which means you need a padding instruction
if the target label is an odd number of instructions after the PC.

I failed to read the ISA closely enough to see the multiple of 4, I'm assuming
I need to fix that, and then I think it will work.

Am attempting close this as invalid, and will open a new bug report if I
actually find a bug, rather than my misunderstanding error message & API.

-- 
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]