mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user