/* coffgrok.c
- Copyright (C) 1994-2017 Free Software Foundation, Inc.
+ Copyright (C) 1994-2020 Free Software Foundation, Inc.
This file is part of GNU Binutils.
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 =
case C_UNTAG:
/* Various definition. */
if (top_scope == NULL)
- fatal (_("Aggregate defintion encountered without a scope"));
+ fatal (_("Aggregate definition encountered without a scope"));
i = do_define (i, top_scope);
break;
case C_EXT:
case C_LABEL:
if (file_scope == NULL)
- fatal (_("Label defintion encountered without a file scope"));
+ fatal (_("Label definition encountered without a file scope"));
i = do_define (i, file_scope);
break;
case C_STAT:
case C_AUTO:
case C_REG:
if (top_scope == NULL)
- fatal (_("Variable defintion encountered without a scope"));
+ fatal (_("Variable definition encountered without a scope"));
i = do_define (i, top_scope);
break;
case C_EOS: