mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-04 15:54:25 +08:00
Retain .debug_addr sections loaded in the main file.
PR 27534 * readelf.c (display_debug_section): Also retain .debug_addr sections.
This commit is contained in:
parent
d6bfbc3981
commit
44266f362b
@ -1,3 +1,9 @@
|
||||
2021-03-16 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 27534
|
||||
* readelf.c (display_debug_section): Also retain .debug_addr
|
||||
sections.
|
||||
|
||||
2021-03-16 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 27533
|
||||
|
@ -15442,7 +15442,7 @@ display_debug_section (int shndx, Elf_Internal_Shdr * section, Filedata * fileda
|
||||
|
||||
section_subset = NULL;
|
||||
|
||||
if (secondary || (id != info && id != abbrev))
|
||||
if (secondary || (id != info && id != abbrev && id != debug_addr))
|
||||
free_debug_section (id);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user