mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
Move printing from bfd to nm and add POSIX and SysV formats.
This commit is contained in:
parent
5e27c0544a
commit
93b4f01814
@ -65,6 +65,8 @@ extern unsigned int elf_canonicalize_reloc PARAMS ((bfd *, sec_ptr,
|
||||
extern asymbol *elf_make_empty_symbol PARAMS ((bfd *));
|
||||
extern void elf_print_symbol PARAMS ((bfd *, PTR, asymbol *,
|
||||
bfd_print_symbol_type));
|
||||
extern void elf_get_symbol_info PARAMS ((bfd *, asymbol *,
|
||||
symbol_info *));
|
||||
extern alent *elf_get_lineno PARAMS ((bfd *, asymbol *));
|
||||
extern boolean elf_set_arch_mach PARAMS ((bfd *, enum bfd_architecture,
|
||||
unsigned long));
|
||||
|
@ -232,6 +232,9 @@ sco_core_file_matches_executable_p (core_bfd, exec_bfd)
|
||||
#define sco_print_symbol (PROTO (void, (*), \
|
||||
(bfd *, PTR, struct symbol_cache_entry *, \
|
||||
bfd_print_symbol_type))) bfd_false
|
||||
#define sco_get_symbol_info (PROTO (void, (*), \
|
||||
(bfd *, struct symbol_cache_entry *, \
|
||||
symbol_info *))) bfd_false
|
||||
#define sco_get_lineno (PROTO (alent *, (*), \
|
||||
(bfd *, struct symbol_cache_entry *))) bfd_nullvoidptr
|
||||
#define sco_set_arch_mach (PROTO (boolean, (*), \
|
||||
|
@ -261,6 +261,10 @@ Symbols and relocations
|
||||
. struct symbol_cache_entry *,
|
||||
. bfd_print_symbol_type));
|
||||
.#define bfd_print_symbol(b,p,s,e) BFD_SEND(b, _bfd_print_symbol, (b,p,s,e))
|
||||
. void (*_bfd_get_symbol_info) PARAMS ((bfd *,
|
||||
. struct symbol_cache_entry *,
|
||||
. symbol_info *));
|
||||
.#define bfd_get_symbol_info(b,p,e) BFD_SEND(b, _bfd_get_symbol_info, (b,p,e))
|
||||
|
||||
. alent * (*_get_lineno) PARAMS ((bfd *, struct symbol_cache_entry *));
|
||||
.
|
||||
@ -372,7 +376,9 @@ extern bfd_target h8300coff_vec;
|
||||
extern bfd_target h8500coff_vec;
|
||||
extern bfd_target z8kcoff_vec;
|
||||
extern bfd_target we32kcoff_vec;
|
||||
#ifdef HOST_HPPAHPUX
|
||||
extern bfd_target shcoff_vec;
|
||||
|
||||
#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD)
|
||||
extern bfd_target hppa_vec;
|
||||
#endif
|
||||
|
||||
@ -430,7 +436,7 @@ bfd_target *target_vector[] = {
|
||||
&m68kcoff_vec,
|
||||
&a29kcoff_big_vec,
|
||||
&rs6000coff_vec,
|
||||
#ifdef HOST_HPPAHPUX
|
||||
#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD)
|
||||
&hppa_vec,
|
||||
#endif
|
||||
&we32kcoff_vec,
|
||||
|
Loading…
Reference in New Issue
Block a user