[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: |
Mr.Bossman075 at gmail dot com |
Subject: |
[Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m |
Date: |
Mon, 11 Jul 2022 19:27:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29349
--- Comment #4 from Jesse Taube <Mr.Bossman075 at gmail dot com> ---
I'm sure when I tested it, that commit broke u-boot. It seems like there are
two bugs causing the same problem. The way U-boot has it written is like bugB
notice the `type` is after. Which does seem to change after d3e52e120. Which I
noticed a while ago but didn't look into it. If it was written as you wrote it,
the bug would have appeared at 52a86f843b6. To be fair I'm not very familiar
with Assembly, I just know it's broken if you would like to see U-Boots side.
https://lore.kernel.org/all/20220710070953.933688-1-Mr.Bossman075@gmail.com/t/
Thanks for looking into this much appreciated.
.syntax unified
.global bugA;
.type bugA, %function
.align 4
bugA:
adr r3, bugA
.size bugA, .-bugA
.global bugB;
.align 4
bugB:
adr r3, bugB
.size bugB, .-bugB
.type bugB, %function
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/29349] New: ADR instructions generate wrong offsets in Thumb code for armv7-m, Mr.Bossman075 at gmail dot com, 2022/07/10
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m, Mr.Bossman075 at gmail dot com, 2022/07/10
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m, Mr.Bossman075 at gmail dot com, 2022/07/10
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m, Mr.Bossman075 at gmail dot com, 2022/07/10
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m, Mr.Bossman075 at gmail dot com, 2022/07/10
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m, tnfchris at sourceware dot org, 2022/07/11
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m, Mr.Bossman075 at gmail dot com, 2022/07/11
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m, tnfchris at sourceware dot org, 2022/07/11
- [Bug gas/29349] ADR instructions generate wrong offsets in Thumb code for armv7-m,
Mr.Bossman075 at gmail dot com <=