* 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:
Jim Blandy 2003-02-04 20:17:02 +00:00
parent eca48b00fd
commit 0cf824c9e4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-02-04 Jim Blandy <jimb@redhat.com>
* dwarf2read.c (dwarf2_locate_sections): When we find a macro info
section, let dwarf_macinfo_section point to it, not
dwarf_loc_section.
2003-02-04 Daniel Jacobowitz <drow@mvista.com>
Pointed out by Anton Blanchard <anton@samba.org>.

View File

@ -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))
{