* objdump.c (disassemble_data): Pass fprintf to INIT_DISASSEMBLE_INFO.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 23 Jan 1996 22:56:05 +0000 (22:56 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 23 Jan 1996 22:56:05 +0000 (22:56 +0000)
binutils/ChangeLog
binutils/objdump.c

index 0d9d95b3d3460ea27fbf8c87dec2609f0aaabfce..23ed09ee0a3fd76145b746767ce040964b9674b8 100644 (file)
@@ -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>
 
index 19b1243985c29f559a39deb09559497872970a2b..f45c8a9b938c269e548edf01b604bfc1980dc546 100644 (file)
@@ -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;