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 /bfd/elf32-hppa.h | |
parent | 3bd43ebcb6025a8a43f119238f490e2e238697a2 (diff) | |
download | gdb-a464198b013940745d43cff029330b9e7dda71c2.zip gdb-a464198b013940745d43cff029330b9e7dda71c2.tar.gz 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 'bfd/elf32-hppa.h')
-rw-r--r-- | bfd/elf32-hppa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-hppa.h b/bfd/elf32-hppa.h index 87ae5f1..ad5cb18 100644 --- a/bfd/elf32-hppa.h +++ b/bfd/elf32-hppa.h @@ -36,6 +36,9 @@ #include "libhppa.h" #include "elf/hppa.h" +void elf32_hppa_init_stub_bfd + (bfd *, struct bfd_link_info *); + int elf32_hppa_setup_section_lists (bfd *, struct bfd_link_info *); |