1 /* 32-bit ELF support for TI C6X
2    Copyright (C) 2010-2021 Free Software Foundation, Inc.
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 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 extern int elf32_tic6x_merge_arch_attributes (int, int);
26 
27 /* This function is provided for use from the assembler.  */
28 
29 extern void elf32_tic6x_set_use_rela_p (bfd *, bool);
30 
31 struct elf32_tic6x_params
32 {
33   int dsbt_index;
34   int dsbt_size;
35 };
36 
37 extern void elf32_tic6x_setup (struct bfd_link_info *,
38 			       struct elf32_tic6x_params *);
39 
40 /* C6x unwind section editing support.  */
41 extern bool elf32_tic6x_fix_exidx_coverage (struct bfd_section **,
42 					    unsigned int,
43 					    struct bfd_link_info *,
44 					    bool);
45 #ifdef __cplusplus
46 }
47 #endif
48