diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-12-13 14:02:17 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-12-13 14:02:17 +0000 |
commit | a0bb6f35256efa92da14cadb1062ee0b087141ab (patch) | |
tree | dfd83d5233d61aacda382c4858496294afec2e37 /bfd/mach-o-target.c | |
parent | 7b14c9428defdd2779a958b55d593b22bd1586ac (diff) | |
download | binutils-redhat-a0bb6f35256efa92da14cadb1062ee0b087141ab.tar.gz |
2011-12-13 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>
* dwarf2.c (bfd_dwarf2_cleanup_debug_info): Accept stash as an
argument like other functions to support formats other than ELF.
* elf-bfd.h (bfd_dwarf2_cleanup_debug_info): Move to bfd-in.h.
* elf.c (_bfd_elf_close_and_cleanup): Pass dwarf2_find_line_info
in tdata as a parameter.
* libbfd-in.h (bfd_dwarf2_cleanup_debug_info): Move from
elf-bfd.h.
* libbfd.h (bfd_dwarf2_cleanup_debug_info): Regenerate.
* mach-o-target.c (bfd_mach_o_close_and_cleanup): Remove the
fallback macro.
(bfd_mach_o_find_nearest_line): Likewise.
* mach-o.c (bfd_mach_o_find_nearest_line): Add the definition
which calls _bfd_dwarf2_find_nearest_line.
(bfd_mach_o_close_and_cleanup): Likewise.
* mach-o.h (mach_o_data_struct): Add dwarf2_find_line_info.
(bfd_mach_o_find_nearest_line): Add declaration.
(bfd_mach_o_close_and_cleanup): Add declaration.
Diffstat (limited to 'bfd/mach-o-target.c')
-rw-r--r-- | bfd/mach-o-target.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/mach-o-target.c b/bfd/mach-o-target.c index 5e12f849f3..d92c58bf75 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 |