diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-11-07 22:19:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-11-07 22:19:59 +0000 |
commit | 864830001b16714be0c598a08f568c974530f80b (patch) | |
tree | 424c5eef9d2e4842e9bec73c48f61b28429006a4 /bfd/dwarf2.c | |
parent | 681aa0079fbf6d22e73a85d41de0c9d5d0d9fd4c (diff) | |
download | binutils-redhat-864830001b16714be0c598a08f568c974530f80b.tar.gz |
* dwarf2.c: Revert last change.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 1d1e343a17..063982662b 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -389,8 +389,8 @@ read_indirect_string (unit, buf, bytes_read_ptr) if (! stash->dwarf_abbrev_buffer) return NULL; - if (! bfd_simple_get_relocated_section_contents - (abfd, msec, stash->dwarf_str_buffer)) + if (! bfd_get_section_contents (abfd, msec, stash->dwarf_str_buffer, + (bfd_vma) 0, msec->_raw_size)) return NULL; } @@ -550,8 +550,8 @@ read_abbrevs (abfd, offset, stash) if (! stash->dwarf_abbrev_buffer) return 0; - if (! bfd_simple_get_relocated_section_contents - (abfd, msec, stash->dwarf_abbrev_buffer)) + if (! bfd_get_section_contents (abfd, msec, stash->dwarf_abbrev_buffer, + (bfd_vma) 0, msec->_raw_size)) return 0; } @@ -1023,8 +1023,8 @@ decode_line_info (unit, stash) if (! stash->dwarf_line_buffer) return 0; - if (! bfd_simple_get_relocated_section_contents - (abfd, msec, stash->dwarf_line_buffer)) + if (! bfd_get_section_contents (abfd, msec, stash->dwarf_line_buffer, + (bfd_vma) 0, msec->_raw_size)) return 0; /* FIXME: We ought to apply the relocs against this section before @@ -1939,8 +1939,8 @@ _bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset, start = stash->info_ptr_end - stash->info_ptr; - if (! bfd_simple_get_relocated_section_contents - (abfd, msec, stash->info_ptr + start)) + if (! bfd_get_section_contents (abfd, msec, stash->info_ptr + start, + (bfd_vma) 0, size)) continue; stash->info_ptr_end = stash->info_ptr + start + size; |