Line 23... |
Line 23... |
defines in every target. But define once as this file may be included
|
defines in every target. But define once as this file may be included
|
several times. */
|
several times. */
|
#ifndef MACH_O_TARGET_COMMON_DEFINED
|
#ifndef MACH_O_TARGET_COMMON_DEFINED
|
#define MACH_O_TARGET_COMMON_DEFINED
|
#define MACH_O_TARGET_COMMON_DEFINED
|
|
|
#define bfd_mach_o_close_and_cleanup _bfd_generic_close_and_cleanup
|
|
#define bfd_mach_o_bfd_free_cached_info _bfd_generic_bfd_free_cached_info
|
#define bfd_mach_o_bfd_free_cached_info _bfd_generic_bfd_free_cached_info
|
#define bfd_mach_o_get_section_contents_in_window _bfd_generic_get_section_contents_in_window
|
#define bfd_mach_o_get_section_contents_in_window _bfd_generic_get_section_contents_in_window
|
|
#define bfd_mach_o_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data
|
#define bfd_mach_o_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
#define bfd_mach_o_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
#define bfd_mach_o_bfd_is_local_label_name bfd_generic_is_local_label_name
|
#define bfd_mach_o_bfd_is_local_label_name bfd_generic_is_local_label_name
|
#define bfd_mach_o_get_lineno _bfd_nosymbols_get_lineno
|
#define bfd_mach_o_get_lineno _bfd_nosymbols_get_lineno
|
#define bfd_mach_o_find_nearest_line _bfd_nosymbols_find_nearest_line
|
|
#define bfd_mach_o_find_inliner_info _bfd_nosymbols_find_inliner_info
|
#define bfd_mach_o_find_inliner_info _bfd_nosymbols_find_inliner_info
|
#define bfd_mach_o_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
#define bfd_mach_o_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
#define bfd_mach_o_read_minisymbols _bfd_generic_read_minisymbols
|
#define bfd_mach_o_read_minisymbols _bfd_generic_read_minisymbols
|
#define bfd_mach_o_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol
|
#define bfd_mach_o_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol
|
#define bfd_mach_o_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
|
#define bfd_mach_o_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
|
Line 45... |
Line 44... |
#define bfd_mach_o_bfd_copy_link_hash_symbol_type \
|
#define bfd_mach_o_bfd_copy_link_hash_symbol_type \
|
_bfd_generic_copy_link_hash_symbol_type
|
_bfd_generic_copy_link_hash_symbol_type
|
#define bfd_mach_o_bfd_final_link _bfd_generic_final_link
|
#define bfd_mach_o_bfd_final_link _bfd_generic_final_link
|
#define bfd_mach_o_bfd_link_split_section _bfd_generic_link_split_section
|
#define bfd_mach_o_bfd_link_split_section _bfd_generic_link_split_section
|
#define bfd_mach_o_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data
|
#define bfd_mach_o_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data
|
#define bfd_mach_o_bfd_set_private_flags _bfd_generic_bfd_set_private_flags
|
#define bfd_mach_o_bfd_set_private_flags bfd_mach_o_bfd_set_private_flags
|
#define bfd_mach_o_get_section_contents _bfd_generic_get_section_contents
|
#define bfd_mach_o_get_section_contents _bfd_generic_get_section_contents
|
#define bfd_mach_o_bfd_gc_sections bfd_generic_gc_sections
|
#define bfd_mach_o_bfd_gc_sections bfd_generic_gc_sections
|
#define bfd_mach_o_bfd_lookup_section_flags bfd_generic_lookup_section_flags
|
#define bfd_mach_o_bfd_lookup_section_flags bfd_generic_lookup_section_flags
|
#define bfd_mach_o_bfd_merge_sections bfd_generic_merge_sections
|
#define bfd_mach_o_bfd_merge_sections bfd_generic_merge_sections
|
#define bfd_mach_o_bfd_is_group_section bfd_generic_is_group_section
|
#define bfd_mach_o_bfd_is_group_section bfd_generic_is_group_section
|
Line 94... |
Line 93... |
static const bfd_mach_o_backend_data TARGET_NAME_BACKEND =
|
static const bfd_mach_o_backend_data TARGET_NAME_BACKEND =
|
{
|
{
|
TARGET_ARCHITECTURE,
|
TARGET_ARCHITECTURE,
|
bfd_mach_o_swap_reloc_in,
|
bfd_mach_o_swap_reloc_in,
|
bfd_mach_o_swap_reloc_out,
|
bfd_mach_o_swap_reloc_out,
|
bfd_mach_o_print_thread
|
bfd_mach_o_print_thread,
|
|
bfd_mach_o_tgt_seg_table,
|
|
bfd_mach_o_section_type_valid_for_tgt
|
};
|
};
|
|
|
const bfd_target TARGET_NAME =
|
const bfd_target TARGET_NAME =
|
{
|
{
|
TARGET_STRING, /* Name. */
|
TARGET_STRING, /* Name. */
|
Line 116... |
Line 117... |
(SEC_CODE | SEC_DATA | SEC_ROM | SEC_HAS_CONTENTS
|
(SEC_CODE | SEC_DATA | SEC_ROM | SEC_HAS_CONTENTS
|
| SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* Section flags. */
|
| SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* Section flags. */
|
'_', /* symbol_leading_char. */
|
'_', /* symbol_leading_char. */
|
' ', /* ar_pad_char. */
|
' ', /* ar_pad_char. */
|
16, /* ar_max_namelen. */
|
16, /* ar_max_namelen. */
|
0, /* match priority. */
|
TARGET_PRIORITY, /* match priority. */
|
|
|
#if TARGET_BIG_ENDIAN
|
#if TARGET_BIG_ENDIAN
|
bfd_getb64, bfd_getb_signed_64, bfd_putb64,
|
bfd_getb64, bfd_getb_signed_64, bfd_putb64,
|
bfd_getb32, bfd_getb_signed_32, bfd_putb32,
|
bfd_getb32, bfd_getb_signed_32, bfd_putb32,
|
bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
|
bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
|