From 357a1f38a539d43612122eb1c1842fd84859b165 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Fri, 7 Jun 1991 01:32:45 +0000 Subject: *** empty log message *** --- ld/ldlang.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ld/ldlang.c') diff --git a/ld/ldlang.c b/ld/ldlang.c index cabcf9de..00d1e16 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -486,6 +486,11 @@ DEFUN(init_os,(s), ldmalloc((bfd_size_type)(sizeof(section_userdata_type))); s->bfd_section = bfd_make_section(output_bfd, s->name); + if (s->bfd_section == (asection *)NULL) { + info("%P%F output format %s cannot represent section called %s\n", + output_bfd->xvec->name, + s->name); + } s->bfd_section->output_section = s->bfd_section; s->bfd_section->flags = SEC_NO_FLAGS; /* We initialize an output sections output offset to minus its own */ -- cgit v1.1