diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-06-22 23:41:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-06-22 23:41:55 +0000 |
commit | 3ce6d9410caa23759ba24cd6735b7f5ed449d302 (patch) | |
tree | 4a3164b01c9dd35b3deb4bc2feb5e8060bc18995 /bfd/coffgen.c | |
parent | 1d371d35ee4269aea572319c41143a2c0b75bda1 (diff) | |
download | gdb-3ce6d9410caa23759ba24cd6735b7f5ed449d302.zip gdb-3ce6d9410caa23759ba24cd6735b7f5ed449d302.tar.gz gdb-3ce6d9410caa23759ba24cd6735b7f5ed449d302.tar.bz2 |
* coff-i386.c (i3coff_object_p): If COFF_IMAGE_WITH_PE, hack to
handle case where COFF filehdr does not immediately follow PE
header.
* coffgen.c (coff_object_p): Remove useless seek to current
location.
Diffstat (limited to 'bfd/coffgen.c')
-rw-r--r-- | bfd/coffgen.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bfd/coffgen.c b/bfd/coffgen.c index 3d7e85a..74414a1 100644 --- a/bfd/coffgen.c +++ b/bfd/coffgen.c @@ -290,11 +290,6 @@ coff_object_p (abfd) bfd_coff_swap_aouthdr_in (abfd, opthdr, (PTR) & internal_a); } - /* Seek past the opt hdr stuff */ - if (bfd_seek (abfd, (file_ptr) (internal_f.f_opthdr + filhsz), SEEK_SET) - != 0) - return NULL; - return coff_real_object_p (abfd, nscns, &internal_f, (internal_f.f_opthdr != 0 ? &internal_a |