diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-08-13 00:21:19 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-08-13 00:21:19 +0000 |
commit | 99278a0e2dd420552475e225146d22153cdd056b (patch) | |
tree | d577e062ab594cbd7e39712e612b8b0a534bb19f /binutils/dwarf.c | |
parent | 20118c475bb1b522b544f2e93d5bbf4fd469b69f (diff) | |
download | binutils-redhat-99278a0e2dd420552475e225146d22153cdd056b.tar.gz |
* dwarf.c (process_debug_info): Don't subtract section address
when calculating location of cu abbrev within section.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index f40bd41a2f..84e22eb713 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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); |