X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=binutils%2Fcoffgrok.c;h=177c66ed7664d56981cfe7d2ee5721df1be5ca49;hb=28ce7b07473c33f2e4e380a861973d68ffe8017f;hp=01ff0e9b2c179874c4ecf19f384ddb99d03523e8;hpb=de194d8575765da6c7905d09b8675c59fad035e9;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c index 01ff0e9b2c..177c66ed76 100644 --- a/binutils/coffgrok.c +++ b/binutils/coffgrok.c @@ -1,5 +1,5 @@ /* coffgrok.c - Copyright (C) 1994-2017 Free Software Foundation, Inc. + Copyright (C) 1994-2019 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -145,7 +145,7 @@ do_sections_p1 (struct coff_ofile *head) if (strcmp (section->name, ".bss") == 0) head->sections[i].data = 1; head->sections[i].address = section->lma; - head->sections[i].size = bfd_get_section_size (section); + head->sections[i].size = bfd_section_size (section); head->sections[i].number = idx; head->sections[i].nrelocs = section->reloc_count; head->sections[i].relocs =