[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27202] readelf -wL doesn't work on ".loc 0"
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/27202] readelf -wL doesn't work on ".loc 0" |
Date: |
Wed, 29 Sep 2021 02:38:25 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27202
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fba9460f7cc1d6de1b7b647dd1e149f40733a87c
commit fba9460f7cc1d6de1b7b647dd1e149f40733a87c
Author: Alan Modra <amodra@gmail.com>
Date: Sat Sep 25 10:52:05 2021 +0930
PR27202, readelf -wL doesn't work on ".loc 0"
For DWARF revision 4 and earlier, display_debug_lines_decoded
populates the file_table array with entries read from .debug_line
after the directory table. file_table[0] contains the first entry.
DWARF rev 4 line number programs index this entry as file number one.
DWARF revision 5 changes .debug_line format quite extensively, and in
particular gives file number zero a meaning.
PR 27202
* dwarf.c (display_debug_lines_decoded): Correct indexing used
for DWARF5 files.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/27202] readelf -wL doesn't work on ".loc 0",
cvs-commit at gcc dot gnu.org <=