diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-03 23:43:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-03 23:43:18 +0000 |
commit | 92c2346c02b55ad56a1070f625c289e58ddbd740 (patch) | |
tree | 0138872acdb544c3019f8ee3184c142735ebf7b7 /binutils/objdump.c | |
parent | d03ea14fb18405f5ee90546cb9ded912f291843b (diff) | |
download | fsf-binutils-gdb-92c2346c02b55ad56a1070f625c289e58ddbd740.zip fsf-binutils-gdb-92c2346c02b55ad56a1070f625c289e58ddbd740.tar.gz fsf-binutils-gdb-92c2346c02b55ad56a1070f625c289e58ddbd740.tar.bz2 |
Index: opcodes/ChangeLog
2003-09-03 Andrew Cagney <cagney@redhat.com>
* dis-init.c (init_disassemble_info): New file and function.
* Makefile.am (CFILES): Add "dis-init.c".
(libopcodes_la_SOURCES): Add "dis-init.c".
(dis-init.lo): Specify dependencies.
* Makefile.in: Regenerate.
Index: include/ChangeLog
2003-08-27 Andrew Cagney <cagney@redhat.com>
* dis-asm.h (init_disassemble_info): Declare.
(INIT_DISASSEMBLE_INFO): Redefine as a call to
init_disassemble_info.
(INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto.
Index: binutils/ChangeLog
2003-09-03 Andrew Cagney <cagney@redhat.com>
* objdump.c: Refer to init_disassemble_info in comments.
(disassemble_data): Replace INIT_DISASSEMBLE_INFO with
init_disassemble_info.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r-- | binutils/objdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 9ef5d61..358d319 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -66,7 +66,7 @@ #include "aout/aout64.h" #ifdef NEED_DECLARATION_FPRINTF -/* This is needed by INIT_DISASSEMBLE_INFO. */ +/* This is needed by init_disassemble_info(). */ extern int fprintf (FILE *, const char *, ...); #endif @@ -1789,7 +1789,7 @@ disassemble_data (bfd *abfd) /* Sort the symbols into section and symbol order. */ qsort (sorted_syms, sorted_symcount, sizeof (asymbol *), compare_symbols); - INIT_DISASSEMBLE_INFO (disasm_info, stdout, fprintf); + init_disassemble_info (&disasm_info, stdout, fprintf); disasm_info.application_data = (void *) &aux; aux.abfd = abfd; |