aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-10-17 02:15:53 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-10-17 02:15:53 +0000
commit2cefff799c3205b0910cce1942e6e2a570f75201 (patch)
tree83a696c11c8dea6e8535b6d7393413d974aec2e6
parent0e294368f031d1247aea77293e428907e3f4f49c (diff)
downloadgdb-2cefff799c3205b0910cce1942e6e2a570f75201.zip
gdb-2cefff799c3205b0910cce1942e6e2a570f75201.tar.gz
gdb-2cefff799c3205b0910cce1942e6e2a570f75201.tar.bz2
* configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
mingw32.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/configure.host4
2 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index cd13555..be33546 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
+ mingw32.
+
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
diff --git a/bfd/configure.host b/bfd/configure.host
index fcfa9f5..69eb17a 100644
--- a/bfd/configure.host
+++ b/bfd/configure.host
@@ -27,6 +27,10 @@ hppa*-*-osf*) HDEFINES=-DHOST_HPPAOSF ;;
ia64-*-*) host64=true;;
+# Workaround for limitations on win9x where file contents are
+# not zero'd out if you seek past the end and then write.
+i[3-7]86-*-mingw32*) HDEFINES=-D__USE_MINGW_FSEEK;;
+
i[3-7]86-sequent-bsd*) HDEFINES=-Dshared=genshared ;;
i[3-7]86-sequent-sysv4*) ;;
i[3-7]86-sequent-sysv*) HDEFINES=-Dshared=genshared ;;