* dwarf2.c (read_abbrevs): Use _raw_size directly rather than
authorIan Lance Taylor <ian@airs.com>
Mon, 28 Feb 2000 03:39:28 +0000 (03:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 28 Feb 2000 03:39:28 +0000 (03:39 +0000)
calling bfd_get_section_size_before_reloc.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise.

bfd/ChangeLog
bfd/dwarf2.c

index fa1adf217376880e6e0e62d532332e7e1ab266f1..49681832fbbbe2ef6ccff1bef5fe7212e70375e6 100644 (file)
@@ -1,3 +1,10 @@
+2000-02-27  Ian Lance Taylor  <ian@zembu.com>
+
+       * dwarf2.c (read_abbrevs): Use _raw_size directly rather than
+       calling bfd_get_section_size_before_reloc.
+       (decode_line_info): Likewise.
+       (_bfd_dwarf2_find_nearest_line): Likewise.
+
 2000-02-27  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
index fc1b79bd57c98d782d7986bd5b8d09c79fd8fbb5..5710d1adbd0d00b1c09fd2a0572e661adc997ab4 100644 (file)
@@ -431,7 +431,7 @@ read_abbrevs (abfd, offset)
          return 0;
        }
       
-      stash->dwarf_abbrev_size = bfd_get_section_size_before_reloc (msec);
+      stash->dwarf_abbrev_size = msec->_raw_size;
       stash->dwarf_abbrev_buffer = (char*) bfd_alloc (abfd, stash->dwarf_abbrev_size);
       if (! stash->dwarf_abbrev_buffer)
          return 0;
@@ -793,7 +793,7 @@ decode_line_info (unit)
          return 0;
        }
       
-      size = bfd_get_section_size_before_reloc (msec);
+      size = msec->_raw_size;
       stash->dwarf_line_buffer = (char *) bfd_alloc (abfd, size);
       if (! stash->dwarf_line_buffer)
        return 0;
@@ -1518,7 +1518,7 @@ _bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
          return false;
        }
 
-      size = bfd_get_section_size_before_reloc (msec);
+      size = msec->_raw_size;
       if (size == 0)
        return false;
       
This page took 0.029706 seconds and 4 git commands to generate.