diff options
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index eb27668..56a05b1 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -395,7 +395,8 @@ place_section (bfd *abfd, asection *sect, section_offsets &offsets, } while (!done); - offsets[gdb_bfd_section_index (abfd, sect)] = start_addr; + offsets[gdb_bfd_section_index (abfd, sect)] = + start_addr - bfd_section_vma (sect); lowest = start_addr + bfd_section_size (sect); } |