diff options
author | Alan Modra <amodra@gmail.com> | 2016-05-11 22:51:14 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-05-11 22:51:14 +0930 |
commit | a464198b013940745d43cff029330b9e7dda71c2 (patch) | |
tree | e2e4185ebd4621db9467b5b2205c2821743c017f /ld/emultempl/hppaelf.em | |
parent | 3bd43ebcb6025a8a43f119238f490e2e238697a2 (diff) | |
download | fsf-binutils-gdb-a464198b013940745d43cff029330b9e7dda71c2.zip fsf-binutils-gdb-a464198b013940745d43cff029330b9e7dda71c2.tar.gz fsf-binutils-gdb-a464198b013940745d43cff029330b9e7dda71c2.tar.bz2 |
[HPPA] Attach linker created dynamic sections to stub bfd
bfd/
* elf32-hppa.c (elf32_hppa_init_stub_bfd): New function.
(elf32_hppa_check_relocs): Don't set dynobj.
(elf32_hppa_size_stubs): Test !SEC_LINKER_CREATED for stub sections.
(elf32_hppa_build_stubs): Likewise.
* elf32-hppa.h (elf32_hppa_init_stub_bfd): Declare.
ld/
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Call elf32_hppa_init_stub_bfd.
Diffstat (limited to 'ld/emultempl/hppaelf.em')
-rw-r--r-- | ld/emultempl/hppaelf.em | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index a1d2e80..965f986 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -88,6 +88,7 @@ hppaelf_create_output_section_statements (void) stub_file->the_bfd->flags |= BFD_LINKER_CREATED; ldlang_add_file (stub_file); + elf32_hppa_init_stub_bfd (stub_file->the_bfd, &link_info); } |