* Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo.
[deliverable/binutils-gdb.git] / bfd / elfxx-tilegx.h
CommitLineData
aa137e4d
NC
1/* TILE-Gx ELF specific backend routines.
2 Copyright 2011 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#include "elf/common.h"
22#include "elf/internal.h"
23
24extern enum elf_reloc_type_class
25tilegx_reloc_type_class (const Elf_Internal_Rela *);
26
27extern reloc_howto_type *
28tilegx_reloc_name_lookup (bfd *, const char *);
29
30extern struct bfd_link_hash_table *
31tilegx_elf_link_hash_table_create (bfd *);
32
33extern reloc_howto_type *
34tilegx_reloc_type_lookup (bfd *, bfd_reloc_code_real_type);
35
36extern void
37tilegx_elf_copy_indirect_symbol (struct bfd_link_info *,
38 struct elf_link_hash_entry *,
39 struct elf_link_hash_entry *);
40
41extern bfd_boolean
42tilegx_elf_create_dynamic_sections (bfd *, struct bfd_link_info *);
43
44extern bfd_boolean
45tilegx_elf_check_relocs (bfd *, struct bfd_link_info *,
46 asection *, const Elf_Internal_Rela *);
47
48extern bfd_boolean
49tilegx_elf_adjust_dynamic_symbol (struct bfd_link_info *,
50 struct elf_link_hash_entry *);
51
52extern bfd_boolean
53tilegx_elf_omit_section_dynsym (bfd *,
54 struct bfd_link_info *,
55 asection *);
56
57extern bfd_boolean
58tilegx_elf_size_dynamic_sections (bfd *, struct bfd_link_info *);
59
60extern bfd_boolean
61tilegx_elf_relocate_section (bfd *, struct bfd_link_info *,
62 bfd *, asection *,
63 bfd_byte *, Elf_Internal_Rela *,
64 Elf_Internal_Sym *,
65 asection **);
66
67extern asection *
68tilegx_elf_gc_mark_hook (asection *,
69 struct bfd_link_info *,
70 Elf_Internal_Rela *,
71 struct elf_link_hash_entry *,
72 Elf_Internal_Sym *);
73
74extern bfd_boolean
75tilegx_elf_gc_sweep_hook (bfd *, struct bfd_link_info *,
76 asection *, const Elf_Internal_Rela *);
77
78extern bfd_vma
79tilegx_elf_plt_sym_val (bfd_vma, const asection *, const arelent *);
80
81extern void
82tilegx_info_to_howto_rela (bfd *, arelent *, Elf_Internal_Rela *);
83
84extern int
85tilegx_additional_program_headers (bfd *, struct bfd_link_info *);
86
87extern bfd_boolean
88tilegx_elf_finish_dynamic_symbol (bfd *,
89 struct bfd_link_info *,
90 struct elf_link_hash_entry *,
91 Elf_Internal_Sym *);
92
93extern bfd_boolean
94tilegx_elf_finish_dynamic_sections (bfd *, struct bfd_link_info *);
95
96extern bfd_boolean
97_bfd_tilegx_elf_merge_private_bfd_data (bfd *, bfd *);
This page took 0.026135 seconds and 4 git commands to generate.