Report BFD error When bfd_section == NULL in init_os.
* ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
+2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
+
2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/ld-unique/unique.d: New test.
s->name, flags);
if (s->bfd_section == NULL)
{
- einfo (_("%P%F: output format %s cannot represent section called %s\n"),
+ einfo (_("%P%F: output format %s cannot represent section called %s: %E\n"),
link_info.output_bfd->xvec->name, s->name);
}
s->bfd_section->output_section = s->bfd_section;