]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ecoff-bfd.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / bfd / ecoff-bfd.h
CommitLineData
0ba9378a 1/* Externally visible ECOFF routines.
fd67aa11 2 Copyright (C) 2019-2024 Free Software Foundation, Inc.
0ba9378a
AM
3
4 This file is part of BFD, the Binary File Descriptor library.
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
0a1b45a2 21extern bool bfd_ecoff_set_gp_value
0ba9378a 22 (bfd *abfd, bfd_vma gp_value);
0a1b45a2 23extern bool bfd_ecoff_set_regmasks
0ba9378a
AM
24 (bfd *abfd, unsigned long gprmask, unsigned long fprmask,
25 unsigned long *cprmask);
26extern void *bfd_ecoff_debug_init
27 (bfd *output_bfd, struct ecoff_debug_info *output_debug,
28 const struct ecoff_debug_swap *output_swap, struct bfd_link_info *);
29extern void bfd_ecoff_debug_free
30 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
31 const struct ecoff_debug_swap *output_swap, struct bfd_link_info *);
0a1b45a2 32extern bool bfd_ecoff_debug_accumulate
0ba9378a
AM
33 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
34 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
35 struct ecoff_debug_info *input_debug,
36 const struct ecoff_debug_swap *input_swap, struct bfd_link_info *);
0a1b45a2 37extern bool bfd_ecoff_debug_accumulate_other
0ba9378a
AM
38 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
39 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
40 struct bfd_link_info *);
0a1b45a2 41extern bool bfd_ecoff_debug_externals
0ba9378a 42 (bfd *abfd, struct ecoff_debug_info *debug,
0a1b45a2
AM
43 const struct ecoff_debug_swap *swap, bool relocatable,
44 bool (*get_extr) (struct bfd_symbol *, struct ecoff_extr *),
0ba9378a 45 void (*set_index) (struct bfd_symbol *, bfd_size_type));
0a1b45a2 46extern bool bfd_ecoff_debug_one_external
0ba9378a
AM
47 (bfd *abfd, struct ecoff_debug_info *debug,
48 const struct ecoff_debug_swap *swap, const char *name,
49 struct ecoff_extr *esym);
50extern bfd_size_type bfd_ecoff_debug_size
51 (bfd *abfd, struct ecoff_debug_info *debug,
52 const struct ecoff_debug_swap *swap);
0a1b45a2 53extern bool bfd_ecoff_write_debug
0ba9378a
AM
54 (bfd *abfd, struct ecoff_debug_info *debug,
55 const struct ecoff_debug_swap *swap, file_ptr where);
0a1b45a2 56extern bool bfd_ecoff_write_accumulated_debug
0ba9378a
AM
57 (void *handle, bfd *abfd, struct ecoff_debug_info *debug,
58 const struct ecoff_debug_swap *swap,
59 struct bfd_link_info *info, file_ptr where);