mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
Define bfd_find_line entry of BFD_JUMP_TABLE_SYMBOLS using NAME.
In https://www.sourceware.org/ml/binutils/2005-06/msg00082.html HJ implemented bfd_find_line for DWARF2, but cheated a little in not using the usual NAME##_find_line, saving quite a lot of boring editing. However that shortcut probably contributed to bfd_find_nearest_line_discriminator being implemented the same way, and missing support for some targets. * targets.c (BFD_JUMP_TABLE_SYMBOLS): Use NAME##_find_line. * aout-adobe.c (aout_32_find_line): Define. (aout_32_bfd_make_debug_symbol, aout_32_bfd_reloc_type_lookup, aout_32_bfd_reloc_name_lookup): Define using _bfd_nosymbols define. * aout-target.h (MY_find_line): Define. * aout-tic30.c (MY_find_line): Define. * binary.c (binary_find_line): Define. * bout.c (aout_32_find_line): Define. * coff-rs6000.c (_bfd_xcoff_find_line): Define. * coff64-rs6000.c (rs6000_xcoff64_vec): Use coff_find_line. (rs6000_xcoff64_aix_vec): Likewise. * elf-bfd.h (_bfd_generic_find_line): Don't define. * elfxx-target.h (bfd_elfNN_find_line): Define. * i386msdos.c (msdos_find_line): Define. * i386os9k.c (aout_32_find_line): Define. * ieee.c (ieee_find_nearest_line, ieee_find_inliner_info): Delete func. (ieee_find_nearest_line, ieee_find_line, ieee_find_inliner_info): Define. * ihex.c (ihex_find_line): Define. * libbfd-in.h (_bfd_nosymbols_find_line): Define. (_bfd_generic_find_line): Don't define. * libbfd.c (_bfd_generic_find_line): Delete. * libcoff-in.h (coff_find_line): Define. * libecoff.h (_bfd_ecoff_find_line): Define. * mach-o.h (bfd_mach_o_find_line): Define. * mmo.c (mmo_find_line): Define. * nlm-target.h (nlm_find_line): Define. * oasys.c (oasys_find_nearest_line, oasys_find_inliner_info): Delete. (oasys_find_nearest_line, oasys_find_line, oasys_find_inliner_info): Define. * pef.c (bfd_pef_find_line): Define. * plugin.c (bfd_plugin_find_line): Define. * ppcboot.c (ppcboot_find_line): Define. * som.c (som_find_line): Define. * srec.c (srec_find_line): Define. * tekhex.c (tekhex_find_line): Define. * versados.c (versados_find_line): Define. * vms-alpha.c (alpha_vms_find_line): Define. * xsym.c (bfd_sym_find_line): Define. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate.
This commit is contained in:
parent
ebb8ece2ef
commit
9c461f7dba
@ -1,3 +1,48 @@
|
||||
2014-10-15 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Use NAME##_find_line.
|
||||
* aout-adobe.c (aout_32_find_line): Define.
|
||||
(aout_32_bfd_make_debug_symbol, aout_32_bfd_reloc_type_lookup,
|
||||
aout_32_bfd_reloc_name_lookup): Define using _bfd_nosymbols define.
|
||||
* aout-target.h (MY_find_line): Define.
|
||||
* aout-tic30.c (MY_find_line): Define.
|
||||
* binary.c (binary_find_line): Define.
|
||||
* bout.c (aout_32_find_line): Define.
|
||||
* coff-rs6000.c (_bfd_xcoff_find_line): Define.
|
||||
* coff64-rs6000.c (rs6000_xcoff64_vec): Use coff_find_line.
|
||||
(rs6000_xcoff64_aix_vec): Likewise.
|
||||
* elf-bfd.h (_bfd_generic_find_line): Don't define.
|
||||
* elfxx-target.h (bfd_elfNN_find_line): Define.
|
||||
* i386msdos.c (msdos_find_line): Define.
|
||||
* i386os9k.c (aout_32_find_line): Define.
|
||||
* ieee.c (ieee_find_nearest_line, ieee_find_inliner_info): Delete func.
|
||||
(ieee_find_nearest_line, ieee_find_line,
|
||||
ieee_find_inliner_info): Define.
|
||||
* ihex.c (ihex_find_line): Define.
|
||||
* libbfd-in.h (_bfd_nosymbols_find_line): Define.
|
||||
(_bfd_generic_find_line): Don't define.
|
||||
* libbfd.c (_bfd_generic_find_line): Delete.
|
||||
* libcoff-in.h (coff_find_line): Define.
|
||||
* libecoff.h (_bfd_ecoff_find_line): Define.
|
||||
* mach-o.h (bfd_mach_o_find_line): Define.
|
||||
* mmo.c (mmo_find_line): Define.
|
||||
* nlm-target.h (nlm_find_line): Define.
|
||||
* oasys.c (oasys_find_nearest_line, oasys_find_inliner_info): Delete.
|
||||
(oasys_find_nearest_line, oasys_find_line,
|
||||
oasys_find_inliner_info): Define.
|
||||
* pef.c (bfd_pef_find_line): Define.
|
||||
* plugin.c (bfd_plugin_find_line): Define.
|
||||
* ppcboot.c (ppcboot_find_line): Define.
|
||||
* som.c (som_find_line): Define.
|
||||
* srec.c (srec_find_line): Define.
|
||||
* tekhex.c (tekhex_find_line): Define.
|
||||
* versados.c (versados_find_line): Define.
|
||||
* vms-alpha.c (alpha_vms_find_line): Define.
|
||||
* xsym.c (bfd_sym_find_line): Define.
|
||||
* bfd-in2.h: Regenerate.
|
||||
* libbfd.h: Regenerate.
|
||||
* libcoff.h: Regenerate.
|
||||
|
||||
2014-10-15 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* version.m4: Bump version to 2.25.51
|
||||
|
@ -446,9 +446,10 @@ aout_adobe_sizeof_headers (bfd *ignore_abfd ATTRIBUTE_UNUSED,
|
||||
|
||||
/* Build the transfer vector for Adobe A.Out files. */
|
||||
|
||||
#define aout_32_bfd_make_debug_symbol ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
|
||||
#define aout_32_bfd_reloc_type_lookup ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
|
||||
#define aout_32_bfd_reloc_name_lookup ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
|
||||
#define aout_32_find_line _bfd_nosymbols_find_line
|
||||
#define aout_32_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define aout_32_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup
|
||||
#define aout_32_bfd_reloc_name_lookup _bfd_norelocs_bfd_reloc_name_lookup
|
||||
#define aout_32_close_and_cleanup aout_32_bfd_free_cached_info
|
||||
#define aout_32_set_arch_mach aout_adobe_set_arch_mach
|
||||
#define aout_32_set_section_contents aout_adobe_set_section_contents
|
||||
|
@ -468,6 +468,9 @@ MY_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
|
||||
#ifndef MY_find_nearest_line
|
||||
#define MY_find_nearest_line NAME (aout, find_nearest_line)
|
||||
#endif
|
||||
#ifndef MY_find_line
|
||||
#define MY_find_line _bfd_nosymbols_find_line
|
||||
#endif
|
||||
#ifndef MY_find_inliner_info
|
||||
#define MY_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#endif
|
||||
|
@ -926,6 +926,9 @@ tic30_aout_set_arch_mach (bfd *abfd,
|
||||
#ifndef MY_find_nearest_line
|
||||
#define MY_find_nearest_line NAME (aout, find_nearest_line)
|
||||
#endif
|
||||
#ifndef MY_find_line
|
||||
#define MY_find_line _bfd_nosymbols_find_line
|
||||
#endif
|
||||
#ifndef MY_find_inliner_info
|
||||
#define MY_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#endif
|
||||
|
@ -7019,7 +7019,7 @@ typedef struct bfd_target
|
||||
NAME##_get_lineno, \
|
||||
NAME##_find_nearest_line, \
|
||||
_bfd_generic_find_nearest_line_discriminator, \
|
||||
_bfd_generic_find_line, \
|
||||
NAME##_find_line, \
|
||||
NAME##_find_inliner_info, \
|
||||
NAME##_bfd_make_debug_symbol, \
|
||||
NAME##_read_minisymbols, \
|
||||
|
@ -204,6 +204,7 @@ binary_get_symbol_info (bfd *ignore_abfd ATTRIBUTE_UNUSED,
|
||||
#define binary_bfd_is_local_label_name bfd_generic_is_local_label_name
|
||||
#define binary_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define binary_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define binary_find_line _bfd_nosymbols_find_line
|
||||
#define binary_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define binary_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define binary_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
@ -1374,6 +1374,7 @@ b_out_bfd_get_relocated_section_contents (bfd *output_bfd,
|
||||
|
||||
/* Build the transfer vectors for Big and Little-Endian B.OUT files. */
|
||||
|
||||
#define aout_32_find_line _bfd_nosymbols_find_line
|
||||
#define aout_32_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define aout_32_close_and_cleanup aout_32_bfd_free_cached_info
|
||||
#define b_out_bfd_link_hash_table_create _bfd_generic_link_hash_table_create
|
||||
|
@ -4048,6 +4048,7 @@ const struct xcoff_dwsect_name xcoff_dwsect_names[] = {
|
||||
#define _bfd_xcoff_find_nearest_line xcoff_find_nearest_line
|
||||
#define _bfd_generic_find_nearest_line_discriminator \
|
||||
xcoff_find_nearest_line_discriminator
|
||||
#define _bfd_xcoff_find_line coff_find_line
|
||||
#define _bfd_xcoff_find_inliner_info coff_find_inliner_info
|
||||
#define _bfd_xcoff_bfd_make_debug_symbol coff_bfd_make_debug_symbol
|
||||
#define _bfd_xcoff_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
@ -2717,7 +2717,7 @@ const bfd_target rs6000_xcoff64_vec =
|
||||
coff_get_lineno,
|
||||
coff_find_nearest_line,
|
||||
_bfd_generic_find_nearest_line_discriminator,
|
||||
_bfd_generic_find_line,
|
||||
coff_find_line,
|
||||
coff_find_inliner_info,
|
||||
coff_bfd_make_debug_symbol,
|
||||
_bfd_generic_read_minisymbols,
|
||||
@ -2975,7 +2975,7 @@ const bfd_target rs6000_xcoff64_aix_vec =
|
||||
coff_get_lineno,
|
||||
coff_find_nearest_line,
|
||||
_bfd_generic_find_nearest_line_discriminator,
|
||||
_bfd_generic_find_line,
|
||||
coff_find_line,
|
||||
coff_find_inliner_info,
|
||||
coff_bfd_make_debug_symbol,
|
||||
_bfd_generic_read_minisymbols,
|
||||
|
@ -1907,7 +1907,6 @@ extern bfd_boolean _bfd_elf_find_line
|
||||
(bfd *, asymbol **, asymbol *, const char **, unsigned int *);
|
||||
extern bfd_boolean _bfd_elf_find_line_discriminator
|
||||
(bfd *, asymbol **, asymbol *, const char **, unsigned int *, unsigned int *);
|
||||
#define _bfd_generic_find_line _bfd_elf_find_line
|
||||
#define _bfd_generic_find_nearest_line_discriminator \
|
||||
_bfd_elf_find_nearest_line_discriminator
|
||||
extern bfd_boolean _bfd_elf_find_inliner_info
|
||||
|
@ -49,6 +49,9 @@
|
||||
#ifndef bfd_elfNN_find_nearest_line
|
||||
#define bfd_elfNN_find_nearest_line _bfd_elf_find_nearest_line
|
||||
#endif
|
||||
#ifndef bfd_elfNN_find_line
|
||||
#define bfd_elfNN_find_line _bfd_elf_find_line
|
||||
#endif
|
||||
#ifndef bfd_elfNN_find_inliner_info
|
||||
#define bfd_elfNN_find_inliner_info _bfd_elf_find_inliner_info
|
||||
#endif
|
||||
|
@ -163,6 +163,7 @@ msdos_set_section_contents (bfd *abfd,
|
||||
#define msdos_print_symbol _bfd_nosymbols_print_symbol
|
||||
#define msdos_get_symbol_info _bfd_nosymbols_get_symbol_info
|
||||
#define msdos_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define msdos_find_line _bfd_nosymbols_find_line
|
||||
#define msdos_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define msdos_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define msdos_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
||||
|
@ -154,6 +154,7 @@ os9k_sizeof_headers (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
|
||||
#define aout_32_close_and_cleanup aout_32_bfd_free_cached_info
|
||||
|
||||
#define aout_32_find_line _bfd_nosymbols_find_line
|
||||
#define aout_32_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
|
||||
#define aout_32_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup
|
||||
|
23
bfd/ieee.c
23
bfd/ieee.c
@ -3675,26 +3675,9 @@ ieee_openr_next_archived_file (bfd *arch, bfd *prev)
|
||||
}
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
ieee_find_nearest_line (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
asection *section ATTRIBUTE_UNUSED,
|
||||
asymbol **symbols ATTRIBUTE_UNUSED,
|
||||
bfd_vma offset ATTRIBUTE_UNUSED,
|
||||
const char **filename_ptr ATTRIBUTE_UNUSED,
|
||||
const char **functionname_ptr ATTRIBUTE_UNUSED,
|
||||
unsigned int *line_ptr ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
ieee_find_inliner_info (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
const char **filename_ptr ATTRIBUTE_UNUSED,
|
||||
const char **functionname_ptr ATTRIBUTE_UNUSED,
|
||||
unsigned int *line_ptr ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
#define ieee_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define ieee_find_line _bfd_nosymbols_find_line
|
||||
#define ieee_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
|
||||
static int
|
||||
ieee_generic_stat_arch_elt (bfd *abfd, struct stat *buf)
|
||||
|
@ -922,6 +922,7 @@ ihex_sizeof_headers (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
#define ihex_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name
|
||||
#define ihex_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define ihex_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define ihex_find_line _bfd_nosymbols_find_line
|
||||
#define ihex_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define ihex_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define ihex_read_minisymbols _bfd_nosymbols_read_minisymbols
|
||||
|
@ -402,6 +402,10 @@ extern bfd_boolean _bfd_vms_lib_ia64_mkarchive (bfd *abfd);
|
||||
((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \
|
||||
const char **, unsigned int *)) \
|
||||
bfd_false)
|
||||
#define _bfd_nosymbols_find_line \
|
||||
((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
|
||||
const char **, unsigned int *)) \
|
||||
bfd_false)
|
||||
#define _bfd_nosymbols_find_inliner_info \
|
||||
((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
|
||||
bfd_false)
|
||||
@ -545,9 +549,6 @@ extern bfd_boolean _bfd_dwarf2_find_line
|
||||
(bfd *, asymbol **, asymbol *, const char **,
|
||||
unsigned int *, unsigned int *, unsigned int, void **);
|
||||
|
||||
bfd_boolean _bfd_generic_find_line
|
||||
(bfd *, asymbol **, asymbol *, const char **, unsigned int *);
|
||||
|
||||
bfd_boolean _bfd_generic_find_nearest_line_discriminator
|
||||
(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **,
|
||||
unsigned int *, unsigned int *);
|
||||
|
10
bfd/libbfd.c
10
bfd/libbfd.c
@ -1104,16 +1104,6 @@ read_signed_leb128 (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
return result;
|
||||
}
|
||||
|
||||
bfd_boolean
|
||||
_bfd_generic_find_line (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
asymbol **symbols ATTRIBUTE_UNUSED,
|
||||
asymbol *symbol ATTRIBUTE_UNUSED,
|
||||
const char **filename_ptr ATTRIBUTE_UNUSED,
|
||||
unsigned int *linenumber_ptr ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bfd_boolean
|
||||
_bfd_generic_find_nearest_line_discriminator (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
asection *section ATTRIBUTE_UNUSED,
|
||||
|
@ -407,6 +407,10 @@ extern bfd_boolean _bfd_vms_lib_ia64_mkarchive (bfd *abfd);
|
||||
((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \
|
||||
const char **, unsigned int *)) \
|
||||
bfd_false)
|
||||
#define _bfd_nosymbols_find_line \
|
||||
((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
|
||||
const char **, unsigned int *)) \
|
||||
bfd_false)
|
||||
#define _bfd_nosymbols_find_inliner_info \
|
||||
((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
|
||||
bfd_false)
|
||||
@ -550,9 +554,6 @@ extern bfd_boolean _bfd_dwarf2_find_line
|
||||
(bfd *, asymbol **, asymbol *, const char **,
|
||||
unsigned int *, unsigned int *, unsigned int, void **);
|
||||
|
||||
bfd_boolean _bfd_generic_find_line
|
||||
(bfd *, asymbol **, asymbol *, const char **, unsigned int *);
|
||||
|
||||
bfd_boolean _bfd_generic_find_nearest_line_discriminator
|
||||
(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **,
|
||||
unsigned int *, unsigned int *);
|
||||
|
@ -360,6 +360,7 @@ extern bfd_boolean coff_find_nearest_line
|
||||
extern bfd_boolean coff_find_nearest_line_discriminator
|
||||
(bfd *, asection *, asymbol **, bfd_vma, const char **,
|
||||
const char **, unsigned int *, unsigned int *);
|
||||
#define coff_find_line _bfd_nosymbols_find_line
|
||||
struct dwarf_debug_section;
|
||||
extern bfd_boolean coff_find_nearest_line_with_names
|
||||
(bfd *, const struct dwarf_debug_section *, asection *, asymbol **,
|
||||
|
@ -364,6 +364,7 @@ extern bfd_boolean coff_find_nearest_line
|
||||
extern bfd_boolean coff_find_nearest_line_discriminator
|
||||
(bfd *, asection *, asymbol **, bfd_vma, const char **,
|
||||
const char **, unsigned int *, unsigned int *);
|
||||
#define coff_find_line _bfd_nosymbols_find_line
|
||||
struct dwarf_debug_section;
|
||||
extern bfd_boolean coff_find_nearest_line_with_names
|
||||
(bfd *, const struct dwarf_debug_section *, asection *, asymbol **,
|
||||
|
@ -291,6 +291,7 @@ extern bfd_boolean _bfd_ecoff_bfd_is_local_label_name
|
||||
extern bfd_boolean _bfd_ecoff_find_nearest_line
|
||||
(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **,
|
||||
unsigned int *);
|
||||
#define _bfd_ecoff_find_line _bfd_nosymbols_find_line
|
||||
#define _bfd_ecoff_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define _bfd_ecoff_read_minisymbols _bfd_generic_read_minisymbols
|
||||
#define _bfd_ecoff_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol
|
||||
|
@ -683,6 +683,7 @@ void bfd_mach_o_convert_section_name_to_bfd (bfd *, const char *, const char *,
|
||||
bfd_boolean bfd_mach_o_find_nearest_line (bfd *, asection *, asymbol **,
|
||||
bfd_vma, const char **,
|
||||
const char **, unsigned int *);
|
||||
#define bfd_mach_o_find_line _bfd_nosymbols_find_line
|
||||
bfd_boolean bfd_mach_o_close_and_cleanup (bfd *);
|
||||
bfd_boolean bfd_mach_o_free_cached_info (bfd *);
|
||||
|
||||
|
@ -3210,6 +3210,7 @@ mmo_write_object_contents (bfd *abfd)
|
||||
/* FIXME: We can do better on this one, if we have a dwarf2 .debug_line
|
||||
section or if MMO line numbers are implemented. */
|
||||
#define mmo_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define mmo_find_line _bfd_nosymbols_find_line
|
||||
#define mmo_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define mmo_make_empty_symbol _bfd_generic_make_empty_symbol
|
||||
#define mmo_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
|
@ -29,6 +29,7 @@
|
||||
#define nlm_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
||||
#define nlm_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define nlm_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define nlm_find_line _bfd_nosymbols_find_line
|
||||
#define nlm_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define nlm_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define nlm_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
23
bfd/oasys.c
23
bfd/oasys.c
@ -1129,26 +1129,9 @@ oasys_openr_next_archived_file (bfd *arch, bfd *prev)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
oasys_find_nearest_line (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
asection *section ATTRIBUTE_UNUSED,
|
||||
asymbol **symbols ATTRIBUTE_UNUSED,
|
||||
bfd_vma offset ATTRIBUTE_UNUSED,
|
||||
const char **filename_ptr ATTRIBUTE_UNUSED,
|
||||
const char **functionname_ptr ATTRIBUTE_UNUSED,
|
||||
unsigned int *line_ptr ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
oasys_find_inliner_info (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
const char **filename_ptr ATTRIBUTE_UNUSED,
|
||||
const char **functionname_ptr ATTRIBUTE_UNUSED,
|
||||
unsigned int *line_ptr ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
#define oasys_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define oasys_find_line _bfd_nosymbols_find_line
|
||||
#define oasys_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
|
||||
static int
|
||||
oasys_generic_stat_arch_elt (bfd *abfd, struct stat *buf)
|
||||
|
@ -41,6 +41,7 @@
|
||||
#define bfd_pef_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
||||
#define bfd_pef_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define bfd_pef_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define bfd_pef_find_line _bfd_nosymbols_find_line
|
||||
#define bfd_pef_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define bfd_pef_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define bfd_pef_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
@ -83,6 +83,7 @@ dlerror (void)
|
||||
#define bfd_plugin_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
||||
#define bfd_plugin_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define bfd_plugin_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define bfd_plugin_find_line _bfd_nosymbols_find_line
|
||||
#define bfd_plugin_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define bfd_plugin_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define bfd_plugin_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
@ -331,6 +331,7 @@ ppcboot_get_symbol_info (bfd *ignore_abfd ATTRIBUTE_UNUSED,
|
||||
#define ppcboot_bfd_is_local_label_name bfd_generic_is_local_label_name
|
||||
#define ppcboot_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define ppcboot_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define ppcboot_find_line _bfd_nosymbols_find_line
|
||||
#define ppcboot_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define ppcboot_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define ppcboot_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
@ -6713,6 +6713,7 @@ som_bfd_link_split_section (bfd *abfd ATTRIBUTE_UNUSED, asection *sec)
|
||||
return som_is_subspace (sec) && sec->size > 240000;
|
||||
}
|
||||
|
||||
#define som_find_line _bfd_nosymbols_find_line
|
||||
#define som_close_and_cleanup som_bfd_free_cached_info
|
||||
#define som_read_ar_hdr _bfd_generic_read_ar_hdr
|
||||
#define som_write_ar_hdr _bfd_generic_write_ar_hdr
|
||||
|
@ -1255,6 +1255,7 @@ srec_print_symbol (bfd *abfd,
|
||||
#define srec_bfd_is_local_label_name bfd_generic_is_local_label_name
|
||||
#define srec_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define srec_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define srec_find_line _bfd_nosymbols_find_line
|
||||
#define srec_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define srec_make_empty_symbol _bfd_generic_make_empty_symbol
|
||||
#define srec_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
|
@ -368,7 +368,7 @@ BFD_JUMP_TABLE macros.
|
||||
. NAME##_get_lineno, \
|
||||
. NAME##_find_nearest_line, \
|
||||
. _bfd_generic_find_nearest_line_discriminator, \
|
||||
. _bfd_generic_find_line, \
|
||||
. NAME##_find_line, \
|
||||
. NAME##_find_inliner_info, \
|
||||
. NAME##_bfd_make_debug_symbol, \
|
||||
. NAME##_read_minisymbols, \
|
||||
|
@ -935,6 +935,7 @@ tekhex_print_symbol (bfd *abfd,
|
||||
#define tekhex_bfd_is_local_label_name bfd_generic_is_local_label_name
|
||||
#define tekhex_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define tekhex_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define tekhex_find_line _bfd_nosymbols_find_line
|
||||
#define tekhex_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define tekhex_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define tekhex_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
@ -794,6 +794,7 @@ versados_canonicalize_reloc (bfd *abfd,
|
||||
#define versados_bfd_is_local_label_name bfd_generic_is_local_label_name
|
||||
#define versados_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define versados_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define versados_find_line _bfd_nosymbols_find_line
|
||||
#define versados_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define versados_make_empty_symbol _bfd_generic_make_empty_symbol
|
||||
#define versados_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
|
@ -9210,6 +9210,7 @@ bfd_vms_get_data (bfd *abfd)
|
||||
#define alpha_vms_find_nearest_line _bfd_vms_find_nearest_dst_line
|
||||
#define _bfd_generic_find_nearest_line_discriminator \
|
||||
_bfd_vms_find_nearest_line_discriminator
|
||||
#define alpha_vms_find_line _bfd_nosymbols_find_line
|
||||
#define alpha_vms_bfd_is_local_label_name vms_bfd_is_local_label_name
|
||||
|
||||
/* Generic table. */
|
||||
|
@ -33,6 +33,7 @@
|
||||
#define bfd_sym_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
||||
#define bfd_sym_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define bfd_sym_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define bfd_sym_find_line _bfd_nosymbols_find_line
|
||||
#define bfd_sym_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define bfd_sym_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
#define bfd_sym_read_minisymbols _bfd_generic_read_minisymbols
|
||||
|
Loading…
Reference in New Issue
Block a user