forked from Imagelibrary/binutils-gdb
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:
committed by
Mike Frysinger
parent
4194556af5
commit
dd3115e159
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user