* emultempl/ppc64elf.em (build_section_lists): Check return status

from ppc64_elf_next_input_section.
This commit is contained in:
Alan Modra 2003-06-19 11:51:55 +00:00
parent 9b5ecbd0c6
commit 6bc8652b47
2 changed files with 49 additions and 43 deletions

View File

@ -1,3 +1,8 @@
2003-06-19 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em (build_section_lists): Check return status
from ppc64_elf_next_input_section.
2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (section_already_linked): Put back assignment of

View File

@ -323,8 +323,9 @@ build_section_lists (statement)
&& statement->input_section.section->output_section != NULL
&& statement->input_section.section->output_section->owner == output_bfd)
{
ppc64_elf_next_input_section (&link_info,
statement->input_section.section);
if (!ppc64_elf_next_input_section (&link_info,
statement->input_section.section))
einfo ("%X%P: can not size stub section: %E\n");
}
}