diff options
Diffstat (limited to 'bfd/section.c')
-rw-r--r-- | bfd/section.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/section.c b/bfd/section.c index 374e2fa..02ae218 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -553,6 +553,8 @@ bfd_make_section_anyway (abfd, name) useful for things like relocs which are relative to the base of a section. */ newsect->symbol = bfd_make_empty_symbol(abfd); + if (!newsect) + return NULL; newsect->symbol->name = name; newsect->symbol->value = 0; newsect->symbol->section = newsect; @@ -637,6 +639,7 @@ DESCRIPTION */ +/*ARGSUSED*/ boolean DEFUN(bfd_set_section_flags,(abfd, section, flags), bfd *abfd AND |