diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-02 21:51:36 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-02 21:51:36 +0000 |
commit | be89267cfcf8507dd99bb6f3f53bed3f1eda45db (patch) | |
tree | 1163736ded0a30c69895e1814c4d9d9066df77cc /bfd | |
parent | 8a55336153f2043e8a3aef64b1cf192e2bc45054 (diff) | |
download | gdb-be89267cfcf8507dd99bb6f3f53bed3f1eda45db.zip gdb-be89267cfcf8507dd99bb6f3f53bed3f1eda45db.tar.gz gdb-be89267cfcf8507dd99bb6f3f53bed3f1eda45db.tar.bz2 |
* cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file
to FILE * before using it.
* stab-syms.c: Revert yesterday's patch.
Diffstat (limited to 'bfd')
-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" |