[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/31115] New: [ARM] The minimalistic DWARF DIE for function has w
From: |
thiago.bauermann at linaro dot org |
Subject: |
[Bug gas/31115] New: [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode |
Date: |
Tue, 05 Dec 2023 23:33:51 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31115
Bug ID: 31115
Summary: [ARM] The minimalistic DWARF DIE for function has
wrong address in Thumb mode
Product: binutils
Version: 2.39
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: thiago.bauermann at linaro dot org
Target Milestone: ---
Commit 591cc9fbbfd6 ("gas/Dwarf: record functions") introduced
minimalistic DWARF symbols for functions which have their size specified.
Unfortunately in Arm Thumb mode the minimalistic symbol has the LSB bit
set. This is indeed the convention for ELF symbols to denote a function
using Thumb instructions but isn't used for DWARF symbols, where
DW_AT_low_pc should contain the actual function address.
This causes a failure in GDB testcase gdb.arch/pr25124.exp:
(gdb) x /i main+8
0x10521 <main+7>: vrhadd.u16 d14, d14, d31
(gdb) FAIL: gdb.arch/pr25124.exp: disassemble thumb instruction (1st try)
Whereas when using a gas version not affected by the bug:
(gdb) x /i main+8
0x10520 <main+8>: bx lr
(gdb) PASS: gdb.arch/pr25124.exp: disassemble thumb instruction (1st try)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/31115] New: [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode,
thiago.bauermann at linaro dot org <=
- [Bug gas/31115] [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode, thiago.bauermann at linaro dot org, 2023/12/05
- [Bug gas/31115] [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode, nickc at redhat dot com, 2023/12/06
- [Bug gas/31115] [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode, nickc at redhat dot com, 2023/12/06
- [Bug gas/31115] [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode, thiago.bauermann at linaro dot org, 2023/12/06
- [Bug gas/31115] [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode, nickc at redhat dot com, 2023/12/07
- [Bug gas/31115] [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode, thiago.bauermann at linaro dot org, 2023/12/09
- [Bug gas/31115] [ARM] The minimalistic DWARF DIE for function has wrong address in Thumb mode, nickc at redhat dot com, 2023/12/11