mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* dwarf2read.c (dwarf2_locate_sections): When we find a macro info
section, let dwarf_macinfo_section point to it, not dwarf_loc_section.
This commit is contained in:
@@ -978,7 +978,7 @@ dwarf2_locate_sections (bfd *ignore_abfd, asection *sectp, void *ignore_ptr)
|
||||
{
|
||||
dwarf_macinfo_offset = sectp->filepos;
|
||||
dwarf_macinfo_size = bfd_get_section_size_before_reloc (sectp);
|
||||
dwarf_loc_section = sectp;
|
||||
dwarf_macinfo_section = sectp;
|
||||
}
|
||||
else if (STREQ (sectp->name, STR_SECTION))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user