From be89267cfcf8507dd99bb6f3f53bed3f1eda45db Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 2 Jul 1995 21:51:36 +0000 Subject: [PATCH] * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file to FILE * before using it. * stab-syms.c: Revert yesterday's patch. --- bfd/ChangeLog | 6 ++++++ bfd/cofflink.c | 2 +- bfd/stab-syms.c | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) 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" -- 2.30.2