xref: /dflybsd-src/contrib/gdb-7/bfd/elf-vxworks.h (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
186d7f5d3SJohn Marino /* VxWorks support for ELF
286d7f5d3SJohn Marino    Copyright 2005, 2006, 2007 Free Software Foundation, Inc.
386d7f5d3SJohn Marino 
486d7f5d3SJohn Marino    This file is part of BFD, the Binary File Descriptor library.
586d7f5d3SJohn Marino 
686d7f5d3SJohn Marino    This program is free software; you can redistribute it and/or modify
786d7f5d3SJohn Marino    it under the terms of the GNU General Public License as published by
886d7f5d3SJohn Marino    the Free Software Foundation; either version 3 of the License, or
986d7f5d3SJohn Marino    (at your option) any later version.
1086d7f5d3SJohn Marino 
1186d7f5d3SJohn Marino    This program is distributed in the hope that it will be useful,
1286d7f5d3SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
1386d7f5d3SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1486d7f5d3SJohn Marino    GNU General Public License for more details.
1586d7f5d3SJohn Marino 
1686d7f5d3SJohn Marino    You should have received a copy of the GNU General Public License
1786d7f5d3SJohn Marino    along with this program; if not, write to the Free Software
1886d7f5d3SJohn Marino    Foundation, Inc., 59 Temple Place - Suite 330, Boston,
1986d7f5d3SJohn Marino    MA 02111-1307, USA.  */
2086d7f5d3SJohn Marino 
2186d7f5d3SJohn Marino #include "elf/common.h"
2286d7f5d3SJohn Marino #include "elf/internal.h"
2386d7f5d3SJohn Marino 
2486d7f5d3SJohn Marino bfd_boolean elf_vxworks_add_symbol_hook
2586d7f5d3SJohn Marino   (bfd *, struct bfd_link_info *, Elf_Internal_Sym *, const char **,
2686d7f5d3SJohn Marino    flagword *, asection **, bfd_vma *);
2786d7f5d3SJohn Marino bfd_boolean elf_vxworks_link_output_symbol_hook
2886d7f5d3SJohn Marino   (struct bfd_link_info *, const char *name, Elf_Internal_Sym *,
2986d7f5d3SJohn Marino    asection *, struct elf_link_hash_entry *);
3086d7f5d3SJohn Marino bfd_boolean elf_vxworks_emit_relocs
3186d7f5d3SJohn Marino   (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *,
3286d7f5d3SJohn Marino    struct elf_link_hash_entry **);
3386d7f5d3SJohn Marino void elf_vxworks_final_write_processing (bfd *, bfd_boolean);
3486d7f5d3SJohn Marino bfd_boolean elf_vxworks_create_dynamic_sections
3586d7f5d3SJohn Marino   (bfd *, struct bfd_link_info *, asection **);
3686d7f5d3SJohn Marino bfd_boolean elf_vxworks_add_dynamic_entries (bfd *, struct bfd_link_info *);
3786d7f5d3SJohn Marino bfd_boolean elf_vxworks_finish_dynamic_entry (bfd *, Elf_Internal_Dyn *);
3886d7f5d3SJohn Marino 
39