* bfd-in.h (BFD_LINKER_CREATED): Define.

* bfd-in2.h: Rebuilt.
	* elflink.c (bfd_elf_size_dynamic_sections): Disregard
	BFD_LINKER_CREATED bfds when determining input bfds without
	.note.GNU-stack section.

	* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
	Set BFD_LINKER_CREATED on the stubs bfd.
	* emultempl/ppc64elf.em (ppc_create_output_section_statements):
	Likewise.
This commit is contained in:
Jakub Jelinek
2005-02-10 09:15:08 +00:00
parent 0dffe982d8
commit d457dcf698
7 changed files with 28 additions and 3 deletions

View File

@@ -4895,7 +4895,7 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd,
{
asection *s;
if (inputobj->flags & DYNAMIC)
if (inputobj->flags & (DYNAMIC | BFD_LINKER_CREATED))
continue;
s = bfd_get_section_by_name (inputobj, ".note.GNU-stack");
if (s)