mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
4d2c0abd8e
(elf_vxworks_finish_dynamic_entry): Declare. * elf-vxworks.c: Include elf/vxworks.h. (elf_vxworks_add_dynamic_entries): New. (elf_vxworks_finish_dynamic_entry): New. * Makefile.am (elf-vxworks.lo): Add dependency. * Makefile.in (elf-vxworks.lo): Add dependency. * elf32-i386.c (elf_i386_size_dynamic_sections, elf_i386_finish_dynamic_sections): Call elf_vxworks_add_dynamic_entries and elf_vxworks_finish_dynamic_entry. * elf32-ppc.c (ppc_elf_size_dynamic_sections, ppc_elf_finish_dynamic_sections): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections, sparc_finish_dyn): Likewise. * elf32-sh.c (sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_sections): Likewise. * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_finish_dynamic_sections): Likewise. * elf32-arm.c (elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections): Likewise.
39 lines
1.6 KiB
C
39 lines
1.6 KiB
C
/* VxWorks support for ELF
|
|
Copyright 2005, 2007 Free Software Foundation, Inc.
|
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
|
MA 02111-1307, USA. */
|
|
|
|
#include "elf/common.h"
|
|
#include "elf/internal.h"
|
|
|
|
bfd_boolean elf_vxworks_add_symbol_hook
|
|
(bfd *, struct bfd_link_info *, Elf_Internal_Sym *, const char **,
|
|
flagword *, asection **, bfd_vma *);
|
|
bfd_boolean elf_vxworks_link_output_symbol_hook
|
|
(struct bfd_link_info *, const char *name, Elf_Internal_Sym *,
|
|
asection *, struct elf_link_hash_entry *);
|
|
bfd_boolean elf_vxworks_emit_relocs
|
|
(bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *,
|
|
struct elf_link_hash_entry **);
|
|
void elf_vxworks_final_write_processing (bfd *, bfd_boolean);
|
|
bfd_boolean elf_vxworks_create_dynamic_sections
|
|
(bfd *, struct bfd_link_info *, asection **);
|
|
bfd_boolean elf_vxworks_add_dynamic_entries (bfd *, struct bfd_link_info *);
|
|
bfd_boolean elf_vxworks_finish_dynamic_entry (bfd *, Elf_Internal_Dyn *);
|
|
|