[PATCH v3] binutils/dwarf: Print embedded source, when available

Jens Remus jremus@linux.ibm.com
Tue Apr 21 09:06:58 GMT 2026


On 4/21/2026 4:02 AM, Will Hawkins wrote:
> v3 should contain a test that passes on aarch64 as well as x86_64. Sorry
> for the hassle!
> 
> Hope everyone had a great Monday!
> 
> Will

Hello Will, it would be helpful if you could keep the original commit
message from v1 of your patch (except for the last two paragraphs),
including the description and motivation, and place any additional
comments below the three dashes (as you did with the patch changelog).
This should make it easier for everyone to clearly see what is intended
to be committed without needing to dig through previous patch versions.

> 
> Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
> ---
>  v3: Fixed failing test on aarch64.
>  v2: Fix variable scoping, name of line number header entry; add test.
> 
>  binutils/dwarf.c                              |  34 ++-
>  .../binutils-all/dwarf-embedded-source.S      | 240 ++++++++++++++++++
>  .../dwarf-embedded-source.rawline             |  13 +
>  binutils/testsuite/binutils-all/objdump.exp   |  24 ++
>  include/dwarf2.h                              |   2 +
>  5 files changed, 308 insertions(+), 5 deletions(-)
>  create mode 100644 binutils/testsuite/binutils-all/dwarf-embedded-source.S
>  create mode 100644 binutils/testsuite/binutils-all/dwarf-embedded-source.rawline
Thanks and regards,
Jens
-- 
Jens Remus
Linux on Z Development (D3303)
jremus@de.ibm.com / jremus@linux.ibm.com

IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Ehningen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/



More information about the Binutils mailing list