* dwarf.c (process_debug_info): Don't subtract section address
when calculating location of cu abbrev within section.
This commit is contained in:
parent
74f6756095
commit
0ac6fba0ec
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-08-13 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* dwarf.c (process_debug_info): Don't subtract section address
|
||||
when calculating location of cu abbrev within section.
|
||||
|
||||
2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
|
||||
|
||||
PR binutils/11742
|
||||
|
|
|
@ -2077,8 +2077,7 @@ process_debug_info (struct dwarf_section *section,
|
|||
else
|
||||
process_abbrev_section
|
||||
((unsigned char *) debug_displays [abbrev_sec].section.start
|
||||
+ compunit.cu_abbrev_offset
|
||||
- debug_displays [abbrev_sec].section.address,
|
||||
+ compunit.cu_abbrev_offset,
|
||||
(unsigned char *) debug_displays [abbrev_sec].section.start
|
||||
+ debug_displays [abbrev_sec].section.size);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue