+
+int
+ldemul_emit_ctf_early (void)
+{
+ if (ld_emulation->emit_ctf_early)
+ return ld_emulation->emit_ctf_early ();
+ /* If the emulation doesn't know if it wants to emit CTF early, it is going
+ to do so. */
+ return 1;
+}
+
+void
+ldemul_acquire_strings_for_ctf (struct ctf_dict *ctf_output,
+ struct elf_strtab_hash *symstrtab)
+{
+ if (ld_emulation->acquire_strings_for_ctf)
+ ld_emulation->acquire_strings_for_ctf (ctf_output, symstrtab);
+}
+
+void
+ldemul_new_dynsym_for_ctf (struct ctf_dict *ctf_output, int symidx,
+ struct elf_internal_sym *sym)
+{
+ if (ld_emulation->new_dynsym_for_ctf)
+ ld_emulation->new_dynsym_for_ctf (ctf_output, symidx, sym);
+}
+
+bool
+ldemul_print_symbol (struct bfd_link_hash_entry *hash_entry, void *ptr)
+{
+ if (ld_emulation->print_symbol)
+ return ld_emulation->print_symbol (hash_entry, ptr);
+ return print_one_symbol (hash_entry, ptr);
+}