aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-02-10 09:15:08 +0000
committerJakub Jelinek <jakub@redhat.com>2005-02-10 09:15:08 +0000
commitd457dcf69843196978118f12d749e8aa284202a0 (patch)
treee6d6b604c932bd69f589f55294e7ac5423bec233 /ld/emultempl
parent0dffe982d81812ed9d480dcfcdf3fb1f28ae96e2 (diff)
downloadgdb-d457dcf69843196978118f12d749e8aa284202a0.zip
gdb-d457dcf69843196978118f12d749e8aa284202a0.tar.gz
gdb-d457dcf69843196978118f12d749e8aa284202a0.tar.bz2
* 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.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/hppaelf.em1
-rw-r--r--ld/emultempl/ppc64elf.em1
2 files changed, 2 insertions, 0 deletions
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);
}