Index: bfd/mach-o-target.c |
diff --git a/bfd/mach-o-target.c b/bfd/mach-o-target.c |
index 5e12f849f3116324156a9bf39c30b0a75dc311fd..a2aa573c4f20e6e5b647a02b0ad4f1a578131e5e 100644 |
--- a/bfd/mach-o-target.c |
+++ b/bfd/mach-o-target.c |
@@ -25,14 +25,12 @@ |
#ifndef 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_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_local_label_name bfd_generic_is_local_label_name |
#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_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol |
#define bfd_mach_o_read_minisymbols _bfd_generic_read_minisymbols |
@@ -48,7 +46,7 @@ |
#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_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_bfd_gc_sections bfd_generic_gc_sections |
#define bfd_mach_o_bfd_lookup_section_flags bfd_generic_lookup_section_flags |
@@ -97,7 +95,9 @@ static const bfd_mach_o_backend_data TARGET_NAME_BACKEND = |
TARGET_ARCHITECTURE, |
bfd_mach_o_swap_reloc_in, |
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 = |
@@ -119,7 +119,7 @@ const bfd_target TARGET_NAME = |
'_', /* symbol_leading_char. */ |
' ', /* ar_pad_char. */ |
16, /* ar_max_namelen. */ |
- 0, /* match priority. */ |
+ TARGET_PRIORITY, /* match priority. */ |
#if TARGET_BIG_ENDIAN |
bfd_getb64, bfd_getb_signed_64, bfd_putb64, |