aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog1
-rw-r--r--binutils/objdump.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 0d9d95b..23ed09e 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -17,6 +17,7 @@ Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian@cygnus.com>
Tue Jan 23 09:53:54 1996 Doug Evans <dje@charmed.cygnus.com>
* objdump.c (disassemble_data): Handle unknown endianness.
+ Pass fprintf to INIT_DISASSEMBLE_INFO.
Mon Jan 22 16:46:43 1996 Doug Evans <dje@charmed.cygnus.com>
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 19b1243..f45c8a9 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -830,7 +830,7 @@ disassemble_data (abfd)
/* Sort the symbols into section and symbol order */
qsort (sorted_syms, sorted_symcount, sizeof (asymbol *), compare_symbols);
- INIT_DISASSEMBLE_INFO(disasm_info, stdout);
+ INIT_DISASSEMBLE_INFO(disasm_info, stdout, fprintf);
disasm_info.application_data = (PTR) &aux;
aux.abfd = abfd;
disasm_info.print_address_func = objdump_print_address;