/* PowerPC64-specific support for 64-bit ELF.
- Copyright (C) 2002-2014 Free Software Foundation, Inc.
+ Copyright (C) 2002-2017 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
bfd_signed_vma group_size;
/* Whether to use a special call stub for __tls_get_addr. */
- int no_tls_get_addr_opt;
+ int tls_get_addr_opt;
/* Whether to allow multiple toc sections. */
int no_multi_toc;
/* Whether to generate out-of-line register save/restore for gcc -Os code. */
int save_restore_funcs;
+
+ /* Set when a potential variable is detected in .toc. */
+ int object_in_toc;
};
bfd_boolean ppc64_elf_init_stub_bfd
bfd_boolean ppc64_elf_has_small_toc_reloc
(asection *);
bfd_vma ppc64_elf_set_toc
-(struct bfd_link_info *, bfd *);
+ (struct bfd_link_info *, bfd *);
int ppc64_elf_setup_section_lists
(struct bfd_link_info *);
void ppc64_elf_start_multitoc_partition
(struct bfd_link_info *);
bfd_boolean ppc64_elf_build_stubs
(struct bfd_link_info *, char **);
-void ppc64_elf_restore_symbols
- (struct bfd_link_info *info);