~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to bfd/mach-o-target.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#ifndef MACH_O_TARGET_COMMON_DEFINED
26
26
#define MACH_O_TARGET_COMMON_DEFINED
27
27
 
28
 
#define bfd_mach_o_mkarchive                          _bfd_noarchive_mkarchive
29
 
#define bfd_mach_o_read_ar_hdr                        _bfd_noarchive_read_ar_hdr
30
 
#define bfd_mach_o_slurp_armap                        _bfd_noarchive_slurp_armap
31
 
#define bfd_mach_o_slurp_extended_name_table          _bfd_noarchive_slurp_extended_name_table
32
 
#define bfd_mach_o_construct_extended_name_table      _bfd_noarchive_construct_extended_name_table
33
 
#define bfd_mach_o_truncate_arname                    _bfd_noarchive_truncate_arname
34
 
#define bfd_mach_o_write_armap                        _bfd_noarchive_write_armap
35
 
#define bfd_mach_o_get_elt_at_index                   _bfd_noarchive_get_elt_at_index
36
 
#define bfd_mach_o_generic_stat_arch_elt              _bfd_noarchive_generic_stat_arch_elt
37
 
#define bfd_mach_o_update_armap_timestamp             _bfd_noarchive_update_armap_timestamp
38
28
#define bfd_mach_o_close_and_cleanup                  _bfd_generic_close_and_cleanup
39
29
#define bfd_mach_o_bfd_free_cached_info               _bfd_generic_bfd_free_cached_info
40
30
#define bfd_mach_o_new_section_hook                   _bfd_generic_new_section_hook
53
43
#define bfd_mach_o_bfd_link_hash_table_free           _bfd_generic_link_hash_table_free
54
44
#define bfd_mach_o_bfd_link_add_symbols               _bfd_generic_link_add_symbols
55
45
#define bfd_mach_o_bfd_link_just_syms                 _bfd_generic_link_just_syms
 
46
#define bfd_mach_o_bfd_copy_link_hash_symbol_type \
 
47
  _bfd_generic_copy_link_hash_symbol_type
56
48
#define bfd_mach_o_bfd_final_link                     _bfd_generic_final_link
57
49
#define bfd_mach_o_bfd_link_split_section             _bfd_generic_link_split_section
58
 
#define bfd_mach_o_set_arch_mach                      bfd_default_set_arch_mach
59
50
#define bfd_mach_o_bfd_merge_private_bfd_data         _bfd_generic_bfd_merge_private_bfd_data
60
51
#define bfd_mach_o_bfd_set_private_flags              _bfd_generic_bfd_set_private_flags
61
52
#define bfd_mach_o_get_section_contents               _bfd_generic_get_section_contents
70
61
 
71
62
#define bfd_mach_o_get_dynamic_symtab_upper_bound     bfd_mach_o_get_symtab_upper_bound
72
63
#define bfd_mach_o_canonicalize_dynamic_symtab        bfd_mach_o_canonicalize_symtab
73
 
#define bfd_mach_o_get_synthetic_symtab               _bfd_nodynamic_get_synthetic_symtab
74
64
 
75
65
#define TARGET_NAME_BACKEND XCONCAT2(TARGET_NAME,_backend)
76
66
 
84
74
#error TARGET_STRING must be defined
85
75
#endif /* TARGET_STRING */
86
76
 
 
77
#ifndef TARGET_ARCHITECTURE
 
78
#error TARGET_ARCHITECTURE must be defined
 
79
#endif /* TARGET_ARCHITECTURE */
 
80
 
87
81
#ifndef TARGET_BIG_ENDIAN
88
82
#error TARGET_BIG_ENDIAN must be defined
89
83
#endif /* TARGET_BIG_ENDIAN */
98
92
 
99
93
static const bfd_mach_o_backend_data TARGET_NAME_BACKEND =
100
94
{
 
95
  TARGET_ARCHITECTURE,
101
96
  bfd_mach_o_swap_reloc_in,
102
97
  bfd_mach_o_swap_reloc_out,
103
98
  bfd_mach_o_print_thread
171
166
#if TARGET_ARCHIVE
172
167
  BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o),
173
168
#else
174
 
  BFD_JUMP_TABLE_ARCHIVE (_bfd_archive_bsd),
 
169
  BFD_JUMP_TABLE_ARCHIVE (_bfd_archive_bsd44),
175
170
#endif
176
171
  BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o),
177
172
  BFD_JUMP_TABLE_RELOCS (bfd_mach_o),