summaryrefslogtreecommitdiff
path: root/binutils/rdcoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/rdcoff.c')
-rw-r--r--binutils/rdcoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/rdcoff.c b/binutils/rdcoff.c
index cbb5db1b94b..006f13b3aa0 100644
--- a/binutils/rdcoff.c
+++ b/binutils/rdcoff.c
@@ -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;