diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-08-15 15:39:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-08-15 15:39:08 +0000 |
commit | 3df7f9be336de6d9c4375532b19bfee9d713e63c (patch) | |
tree | e371e84c7f00edb296131c10b3386350a77ecc0f /bfd/elf-bfd.h | |
parent | adb3c2a96c4ee7240934106067f72e74b369079d (diff) | |
download | gdb-3df7f9be336de6d9c4375532b19bfee9d713e63c.tar.gz |
* elf-bfd.h (_bfd_elf_define_linkage_sym): Declare.
* elflink.c (_bfd_elf_define_linkage_sym): New function, extracted
from..
(_bfd_elf_create_got_section): ..here.
(_bfd_elf_link_create_dynamic_sections): Call it for _DYNAMIC.
(_bfd_elf_create_dynamic_sections): ..and _PROCEDURE_LINKAGE_TABLE_.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Use
_bfd_elf_define_linkage_sym.
* elf32-frv.c (_frv_create_got_section): Likewise.
* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index e238a9522f6..eae124a0d6e 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1639,6 +1639,8 @@ extern bfd_boolean _bfd_elf_create_dynamic_sections (bfd *, struct bfd_link_info *); extern bfd_boolean _bfd_elf_create_got_section (bfd *, struct bfd_link_info *); +extern struct elf_link_hash_entry *_bfd_elf_define_linkage_sym + (bfd *, struct bfd_link_info *, asection *, const char *); extern bfd_boolean _bfd_elfcore_make_pseudosection (bfd *, char *, size_t, ufile_ptr); |