1/* ELF emulation code for targets using elf.em.
2   Copyright (C) 1991-2022 Free Software Foundation, Inc.
3
4   This file is part of the GNU Binutils.
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 3 of the License, or
9   (at your option) any later version.
10
11   This program is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with this program; if not, write to the Free Software
18   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19   MA 02110-1301, USA.  */
20
21extern const char *ldelf_emit_note_gnu_build_id;
22extern const char *ldelf_emit_note_fdo_package_metadata;
23
24extern void ldelf_after_parse (void);
25extern bool ldelf_load_symbols (lang_input_statement_type *);
26extern void ldelf_before_plugin_all_symbols_read (int, int, int, int,
27						  int, const char *);
28extern void ldelf_after_open (int, int, int, int, int, const char *);
29extern bool ldelf_setup_build_id (bfd *);
30extern bool ldelf_setup_package_metadata (bfd *);
31extern void ldelf_append_to_separated_string (char **, char *);
32extern void ldelf_before_allocation (char *, char *, const char *);
33extern bool ldelf_open_dynamic_archive
34  (const char *, search_dirs_type *, lang_input_statement_type *);
35extern lang_output_section_statement_type *ldelf_place_orphan
36  (asection *, const char *, int);
37extern void ldelf_before_place_orphans (void);
38extern void ldelf_set_output_arch (void);
39