PR25629, objcopy : SIGSEGV in filter_symbols
[deliverable/binutils-gdb.git] / binutils / rdcoff.c
index cbb5db1b94bf6f83883856a78aeba0bfa56d08b8..4eb4d1579092b96a4c2721750204a8844c9e637f 100644 (file)
@@ -1,5 +1,5 @@
 /* stabs.c -- Parse COFF debugging information
-   Copyright (C) 1996-2019 Free Software Foundation, Inc.
+   Copyright (C) 1996-2020 Free Software Foundation, Inc.
    Written by Ian Lance Taylor <ian@cygnus.com>.
 
    This file is part of GNU Binutils.
@@ -816,7 +816,7 @@ parse_coff (bfd *abfd, asymbol **syms, long symcount, void *dhandle)
                  else
                    base = auxent.x_sym.x_misc.x_lnsz.x_lnno - 1;
 
-                 addr = bfd_get_section_vma (abfd, bfd_asymbol_section (sym));
+                 addr = bfd_section_vma (bfd_asymbol_section (sym));
 
                  ++linenos;
 
This page took 0.024738 seconds and 4 git commands to generate.