diff options
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/cofflink.c | 2 | ||||
-rw-r--r-- | bfd/stab-syms.c | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index edf6e33..db2a407 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Sun Jul 2 17:49:32 1995 Ian Lance Taylor <ian@cygnus.com> + + * 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 <fnf@cygnus.com> * stab-syms.c (stdio.h): Include prior to libaout.h, which diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 061dc5b..4913b51 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 b227af6..16cd697 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 <stdio.h> /* Required by bfdlink.h, from libaout.h */ #include "libaout.h" #include "aout/aout64.h" |