gdb: adjust start address (why?)

Signed-off-by: Jie Zhang <jie@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Jie Zhang
2010-03-10 10:38:02 -05:00
committed by Mike Frysinger
parent 4194556af5
commit dd3115e159

View File

@@ -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);
}