aboutsummaryrefslogtreecommitdiff
path: root/bfd/cofflink.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-07-02 21:51:36 +0000
committerIan Lance Taylor <ian@airs.com>1995-07-02 21:51:36 +0000
commitbe89267cfcf8507dd99bb6f3f53bed3f1eda45db (patch)
tree1163736ded0a30c69895e1814c4d9d9066df77cc /bfd/cofflink.c
parent8a55336153f2043e8a3aef64b1cf192e2bc45054 (diff)
downloadgdb-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/cofflink.c')
-rw-r--r--bfd/cofflink.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}