1 /* ELF emulation code for targets using elf.em.
2 Copyright (C) 1991-2024 Free Software Foundation, Inc.
4 This file is part of the GNU Binutils.
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.
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.
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. */
21 extern const char *ldelf_emit_note_gnu_build_id
;
22 extern const char *ldelf_emit_note_fdo_package_metadata
;
24 extern void ldelf_after_parse (void);
25 extern bool ldelf_load_symbols (lang_input_statement_type
*);
26 extern void ldelf_before_plugin_all_symbols_read (int, int, int, int,
28 extern void ldelf_after_open (int, int, int, int, int, const char *);
29 extern bool ldelf_setup_build_id (bfd
*);
30 extern bool ldelf_setup_package_metadata (bfd
*);
31 extern void ldelf_append_to_separated_string (char **, char *);
32 extern void ldelf_before_allocation (char *, char *, const char *);
33 extern bool ldelf_open_dynamic_archive
34 (const char *, search_dirs_type
*, lang_input_statement_type
*);
35 extern lang_output_section_statement_type
*ldelf_place_orphan
36 (asection
*, const char *, int);
37 extern void ldelf_before_place_orphans (void);
38 extern void ldelf_set_output_arch (void);