]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ldelf.h
bus error with fuzzed archive element
[thirdparty/binutils-gdb.git] / ld / ldelf.h
CommitLineData
075a2b89 1/* ELF emulation code for targets using elf.em.
fd67aa11 2 Copyright (C) 1991-2024 Free Software Foundation, Inc.
d871d478
AM
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;
9e2bb0cb 22extern const char *ldelf_emit_note_fdo_package_metadata;
d871d478
AM
23
24extern void ldelf_after_parse (void);
f38a2680 25extern bool ldelf_load_symbols (lang_input_statement_type *);
320fdefe
L
26extern void ldelf_before_plugin_all_symbols_read (int, int, int, int,
27 int, const char *);
ef8f08ca 28extern void ldelf_after_open (int, int, int, int, int, const char *);
f38a2680 29extern bool ldelf_setup_build_id (bfd *);
9e2bb0cb 30extern bool ldelf_setup_package_metadata (bfd *);
d871d478
AM
31extern void ldelf_append_to_separated_string (char **, char *);
32extern void ldelf_before_allocation (char *, char *, const char *);
f38a2680 33extern bool ldelf_open_dynamic_archive
d871d478
AM
34 (const char *, search_dirs_type *, lang_input_statement_type *);
35extern lang_output_section_statement_type *ldelf_place_orphan
36 (asection *, const char *, int);
9b538ba7 37extern void ldelf_before_place_orphans (void);
8c0546e9 38extern void ldelf_set_output_arch (void);