bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/29349] ADR instructions generate wrong offsets in Thumb code fo


From: tnfchris at sourceware dot org
Subject: [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m
Date: Mon, 11 Jul 2022 16:54:01 +0000

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

Tamar Christina <tnfchris at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-07-11
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from Tamar Christina <tnfchris at sourceware dot org> ---
I'm not saying that there isn't a bug. I'm just asking if you're sure it's my
commit that caused it.  As the error exists way before it.

> ./gas/as-new -march=armv7-m -c -o bug.o ../bug2.s; ./binutils/objdump -Dr 
> bug.o | grep subw
   0:   f2af 0303       subw    r3, pc, #3
  10:   f2af 0304       subw    r3, pc, #4

> git checkout HEAD~1
Previous HEAD position was 52a86f843b6 Fix use of ARM ADR and ADRl
pseudo-instructions with thumb function symbols.
HEAD is now at b32465c97c1 MIPS16e2: Add new MIPS16e2 relaxation GAS and LD
tests

> ./gas/as-new -march=armv7-m -c -o bug.o ../bug2.s; ./binutils/objdump -Dr 
> bug.o | grep subw
   0:   f2af 0304       subw    r3, pc, #4
  10:   f2af 0304       subw    r3, pc, #4

So I don't believe
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d3e52e120b68bf19552743fbc078e0a759f48cb7
caused it.

But, confirmed.

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