+/* Used to pass info between ld and bfd. */
+struct ppc64_elf_params
+{
+ /* Linker stub bfd. */
+ bfd *stub_bfd;
+
+ /* Linker call-backs. */
+ asection * (*add_stub_section) (const char *, asection *);
+ void (*layout_sections_again) (void);
+
+ /* Maximum size of a group of input sections that can be handled by
+ one stub section. A value of +/-1 indicates the bfd back-end
+ should use a suitable default size. */
+ bfd_signed_vma group_size;
+
+ /* Whether to use a special call stub for __tls_get_addr. */
+ int no_tls_get_addr_opt;
+
+ /* Whether to allow multiple toc sections. */
+ int no_multi_toc;
+
+ /* Set if PLT call stubs should load r11. */
+ int plt_static_chain;
+
+ /* Set if PLT call stubs need to be thread safe on power7+. */
+ int plt_thread_safe;
+
+ /* Set if individual PLT call stubs should be aligned. */
+ int plt_stub_align;
+
+ /* Whether to canonicalize .opd so that there are no overlapping
+ .opd entries. */
+ int non_overlapping_opd;
+
+ /* Whether to emit symbols for stubs. */
+ int emit_stub_syms;
+};
+