+ldemul_get_script (int *isfile)
+{
+ return ld_emulation->get_script (isfile);
+}
+
+bfd_boolean
+ldemul_open_dynamic_archive (const char *arch, search_dirs_type *search,
+ lang_input_statement_type *entry)
+{
+ if (ld_emulation->open_dynamic_archive)
+ return (*ld_emulation->open_dynamic_archive) (arch, search, entry);
+ return FALSE;
+}
+
+lang_output_section_statement_type *
+ldemul_place_orphan (asection *s, const char *name, int constraint)
+{
+ if (ld_emulation->place_orphan)
+ return (*ld_emulation->place_orphan) (s, name, constraint);
+ return NULL;
+}
+
+void
+ldemul_add_options (int ns, char **shortopts, int nl,
+ struct option **longopts, int nrl,
+ struct option **really_longopts)
+{
+ if (ld_emulation->add_options)
+ (*ld_emulation->add_options) (ns, shortopts, nl, longopts,
+ nrl, really_longopts);
+}
+
+bfd_boolean
+ldemul_handle_option (int optc)
+{
+ if (ld_emulation->handle_option)
+ return (*ld_emulation->handle_option) (optc);
+ return FALSE;
+}
+
+bfd_boolean
+ldemul_parse_args (int argc, char **argv)
+{
+ /* Try and use the emulation parser if there is one. */
+ if (ld_emulation->parse_args)
+ return (*ld_emulation->parse_args) (argc, argv);
+ return FALSE;
+}
+
+/* Let the emulation code handle an unrecognized file. */
+
+bfd_boolean
+ldemul_unrecognized_file (lang_input_statement_type *entry)
+{
+ if (ld_emulation->unrecognized_file)
+ return (*ld_emulation->unrecognized_file) (entry);
+ return FALSE;
+}
+
+/* Let the emulation code handle a recognized file. */
+
+bfd_boolean
+ldemul_recognized_file (lang_input_statement_type *entry)