- int target_optimize; /* Switch optimization. */
- int relax_status; /* Finished optimization. */
- int relax_round; /* Going optimization. */
- FILE *ex9_export_file; /* --mexport-ex9=<file> */
- FILE *ex9_import_file; /* --mimport-ex9=<file> */
- int update_ex9_table; /* --mupdate-ex9. */
- int ex9_limit;
- bfd_boolean ex9_loop_aware; /* Ignore ex9 if inside a loop. */
- bfd_boolean ifc_loop_aware; /* Ignore ifc if inside a loop. */
+
+ /* The offset into splt of the PLT entry for the TLS descriptor
+ resolver. Special values are 0, if not necessary (or not found
+ to be necessary yet), and -1 if needed but not determined
+ yet. */
+ bfd_vma dt_tlsdesc_plt;
+
+ /* The offset into sgot of the GOT entry used by the PLT entry
+ above. */
+ bfd_vma dt_tlsdesc_got;
+
+ /* Offset in .plt section of tls_nds32_trampoline. */
+ bfd_vma tls_trampoline;
+
+ /* The index of the next unused R_NDS32_TLS_DESC slot in .rel.plt. */
+ bfd_vma next_tls_desc_index;
+
+ /* How many R_NDS32_TLS_DESC relocations were generated so far. */
+ bfd_vma num_tls_desc;
+
+ /* The amount of space used by the reserved portion of the sgotplt
+ section, plus whatever space is used by the jump slots. */
+ bfd_vma sgotplt_jump_table_size;
+
+ /* True if the target uses REL relocations. */
+ int use_rel;