From d457dcf69843196978118f12d749e8aa284202a0 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 10 Feb 2005 09:15:08 +0000 Subject: * 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. --- ld/ChangeLog | 7 +++++++ ld/emultempl/hppaelf.em | 1 + ld/emultempl/ppc64elf.em | 1 + 3 files changed, 9 insertions(+) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 82d9b1c..3561308 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2005-02-10 Jakub Jelinek + + * 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. + 2005-02-08 Mark Mitchell * scripttempl/armbpabi.sc (VERSION): Make special section symbols diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index 2b03fbe..b6b9ce6 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -88,6 +88,7 @@ hppaelf_create_output_section_statements (void) return; } + stub_file->the_bfd->flags |= BFD_LINKER_CREATED; ldlang_add_file (stub_file); } diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 338e090..de4f02f 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -92,6 +92,7 @@ ppc_create_output_section_statements (void) return; } + stub_file->the_bfd->flags |= BFD_LINKER_CREATED; ldlang_add_file (stub_file); ppc64_elf_init_stub_bfd (stub_file->the_bfd, &link_info); } -- cgit v1.1