Line 1... |
Line 1... |
/* Target definitions for NN-bit ELF
|
/* Target definitions for NN-bit ELF
|
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
|
|
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
Line 167... |
Line 167... |
#ifndef bfd_elfNN_section_already_linked
|
#ifndef bfd_elfNN_section_already_linked
|
#define bfd_elfNN_section_already_linked \
|
#define bfd_elfNN_section_already_linked \
|
_bfd_elf_section_already_linked
|
_bfd_elf_section_already_linked
|
#endif
|
#endif
|
|
|
|
#ifndef bfd_elfNN_bfd_define_common_symbol
|
|
#define bfd_elfNN_bfd_define_common_symbol bfd_generic_define_common_symbol
|
|
#endif
|
|
|
#ifndef bfd_elfNN_bfd_make_debug_symbol
|
#ifndef bfd_elfNN_bfd_make_debug_symbol
|
#define bfd_elfNN_bfd_make_debug_symbol \
|
#define bfd_elfNN_bfd_make_debug_symbol \
|
((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
|
((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
|
#endif
|
#endif
|
|
|
Line 444... |
Line 448... |
#define elf_backend_bfd_from_remote_memory _bfd_elfNN_bfd_from_remote_memory
|
#define elf_backend_bfd_from_remote_memory _bfd_elfNN_bfd_from_remote_memory
|
#endif
|
#endif
|
#ifndef elf_backend_got_header_size
|
#ifndef elf_backend_got_header_size
|
#define elf_backend_got_header_size 0
|
#define elf_backend_got_header_size 0
|
#endif
|
#endif
|
|
#ifndef elf_backend_got_elt_size
|
|
#define elf_backend_got_elt_size _bfd_elf_default_got_elt_size
|
|
#endif
|
#ifndef elf_backend_obj_attrs_vendor
|
#ifndef elf_backend_obj_attrs_vendor
|
#define elf_backend_obj_attrs_vendor NULL
|
#define elf_backend_obj_attrs_vendor NULL
|
#endif
|
#endif
|
#ifndef elf_backend_obj_attrs_section
|
#ifndef elf_backend_obj_attrs_section
|
#define elf_backend_obj_attrs_section NULL
|
#define elf_backend_obj_attrs_section NULL
|
Line 456... |
Line 463... |
#define elf_backend_obj_attrs_arg_type NULL
|
#define elf_backend_obj_attrs_arg_type NULL
|
#endif
|
#endif
|
#ifndef elf_backend_obj_attrs_section_type
|
#ifndef elf_backend_obj_attrs_section_type
|
#define elf_backend_obj_attrs_section_type SHT_GNU_ATTRIBUTES
|
#define elf_backend_obj_attrs_section_type SHT_GNU_ATTRIBUTES
|
#endif
|
#endif
|
|
#ifndef elf_backend_obj_attrs_order
|
|
#define elf_backend_obj_attrs_order NULL
|
|
#endif
|
#ifndef elf_backend_post_process_headers
|
#ifndef elf_backend_post_process_headers
|
#define elf_backend_post_process_headers NULL
|
#define elf_backend_post_process_headers NULL
|
#endif
|
#endif
|
#ifndef elf_backend_print_symbol_all
|
#ifndef elf_backend_print_symbol_all
|
#define elf_backend_print_symbol_all NULL
|
#define elf_backend_print_symbol_all NULL
|
Line 480... |
Line 490... |
#define elf_backend_fixup_symbol NULL
|
#define elf_backend_fixup_symbol NULL
|
#endif
|
#endif
|
#ifndef elf_backend_merge_symbol_attribute
|
#ifndef elf_backend_merge_symbol_attribute
|
#define elf_backend_merge_symbol_attribute NULL
|
#define elf_backend_merge_symbol_attribute NULL
|
#endif
|
#endif
|
|
#ifndef elf_backend_get_target_dtag
|
|
#define elf_backend_get_target_dtag NULL
|
|
#endif
|
#ifndef elf_backend_ignore_undef_symbol
|
#ifndef elf_backend_ignore_undef_symbol
|
#define elf_backend_ignore_undef_symbol NULL
|
#define elf_backend_ignore_undef_symbol NULL
|
#endif
|
#endif
|
#ifndef elf_backend_emit_relocs
|
#ifndef elf_backend_emit_relocs
|
#define elf_backend_emit_relocs _bfd_elf_link_output_relocs
|
#define elf_backend_emit_relocs _bfd_elf_link_output_relocs
|
Line 550... |
Line 563... |
#define elf_backend_may_use_rela_p !USE_REL
|
#define elf_backend_may_use_rela_p !USE_REL
|
#endif
|
#endif
|
#ifndef elf_backend_default_use_rela_p
|
#ifndef elf_backend_default_use_rela_p
|
#define elf_backend_default_use_rela_p !USE_REL
|
#define elf_backend_default_use_rela_p !USE_REL
|
#endif
|
#endif
|
|
#ifndef elf_backend_rela_plts_and_copies_p
|
|
#define elf_backend_rela_plts_and_copies_p elf_backend_default_use_rela_p
|
|
#endif
|
|
|
#ifndef elf_backend_rela_normal
|
#ifndef elf_backend_rela_normal
|
#define elf_backend_rela_normal 0
|
#define elf_backend_rela_normal 0
|
#endif
|
#endif
|
|
|
Line 670... |
Line 686... |
elf_backend_output_arch_syms,
|
elf_backend_output_arch_syms,
|
elf_backend_copy_indirect_symbol,
|
elf_backend_copy_indirect_symbol,
|
elf_backend_hide_symbol,
|
elf_backend_hide_symbol,
|
elf_backend_fixup_symbol,
|
elf_backend_fixup_symbol,
|
elf_backend_merge_symbol_attribute,
|
elf_backend_merge_symbol_attribute,
|
|
elf_backend_get_target_dtag,
|
elf_backend_ignore_undef_symbol,
|
elf_backend_ignore_undef_symbol,
|
elf_backend_emit_relocs,
|
elf_backend_emit_relocs,
|
elf_backend_count_relocs,
|
elf_backend_count_relocs,
|
elf_backend_grok_prstatus,
|
elf_backend_grok_prstatus,
|
elf_backend_grok_psinfo,
|
elf_backend_grok_psinfo,
|
Line 703... |
Line 720... |
ELF_MACHINE_ALT1,
|
ELF_MACHINE_ALT1,
|
ELF_MACHINE_ALT2,
|
ELF_MACHINE_ALT2,
|
&elf_backend_size_info,
|
&elf_backend_size_info,
|
elf_backend_special_sections,
|
elf_backend_special_sections,
|
elf_backend_got_header_size,
|
elf_backend_got_header_size,
|
|
elf_backend_got_elt_size,
|
elf_backend_obj_attrs_vendor,
|
elf_backend_obj_attrs_vendor,
|
elf_backend_obj_attrs_section,
|
elf_backend_obj_attrs_section,
|
elf_backend_obj_attrs_arg_type,
|
elf_backend_obj_attrs_arg_type,
|
elf_backend_obj_attrs_section_type,
|
elf_backend_obj_attrs_section_type,
|
|
elf_backend_obj_attrs_order,
|
elf_backend_collect,
|
elf_backend_collect,
|
elf_backend_type_change_ok,
|
elf_backend_type_change_ok,
|
elf_backend_may_use_rel_p,
|
elf_backend_may_use_rel_p,
|
elf_backend_may_use_rela_p,
|
elf_backend_may_use_rela_p,
|
elf_backend_default_use_rela_p,
|
elf_backend_default_use_rela_p,
|
|
elf_backend_rela_plts_and_copies_p,
|
elf_backend_rela_normal,
|
elf_backend_rela_normal,
|
elf_backend_sign_extend_vma,
|
elf_backend_sign_extend_vma,
|
elf_backend_want_got_plt,
|
elf_backend_want_got_plt,
|
elf_backend_plt_readonly,
|
elf_backend_plt_readonly,
|
elf_backend_want_plt_sym,
|
elf_backend_want_plt_sym,
|