diff options
author | Alan Modra <amodra@gmail.com> | 2005-08-15 15:39:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-08-15 15:39:08 +0000 |
commit | d98685ac81121ad2dc5acec4300d9f0833b7bd0f (patch) | |
tree | bfaa6c7f226d474b0f9176770a92d7c46795a8c2 /bfd/elf-bfd.h | |
parent | 36ae0db314931725feb8bd6958e40c46919ee6ae (diff) | |
download | gdb-d98685ac81121ad2dc5acec4300d9f0833b7bd0f.zip gdb-d98685ac81121ad2dc5acec4300d9f0833b7bd0f.tar.gz gdb-d98685ac81121ad2dc5acec4300d9f0833b7bd0f.tar.bz2 |
* 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 e238a95..eae124a 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); |