From: Ian Lance Taylor Date: Sun, 2 Jul 1995 21:51:36 +0000 (+0000) Subject: * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be89267cfcf8507dd99bb6f3f53bed3f1eda45db;p=binutils-gdb.git * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file to FILE * before using it. * stab-syms.c: Revert yesterday's patch. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index edf6e33b040..db2a40754fb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Sun Jul 2 17:49:32 1995 Ian Lance Taylor + + * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file + to FILE * before using it. + * stab-syms.c: Revert yesterday's patch. + Sat Jul 1 12:10:42 1995 Fred Fish * stab-syms.c (stdio.h): Include prior to libaout.h, which diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 061dc5b4d89..4913b512a79 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -2471,7 +2471,7 @@ _bfd_coff_generic_relocate_section (output_bfd, info, input_bfd, bfd_vma addr = rel->r_vaddr + input_section->output_offset + input_section->output_section->vma; - fwrite (&addr, 1,4, info->base_file); + fwrite (&addr, 1,4, (FILE *) info->base_file); } } diff --git a/bfd/stab-syms.c b/bfd/stab-syms.c index b227af67394..16cd6973e8d 100644 --- a/bfd/stab-syms.c +++ b/bfd/stab-syms.c @@ -21,7 +21,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "bfd.h" #define ARCH_SIZE 32 /* Value doesn't matter. */ -#include /* Required by bfdlink.h, from libaout.h */ #include "libaout.h" #include "aout/aout64.h"