summaryrefslogtreecommitdiff
path: root/gdb/config/i386/xm-i386.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-07-31 19:22:57 +0000
committerMark Kettenis <kettenis@gnu.org>2001-07-31 19:22:57 +0000
commit511369b7d13b6912ac0541c054d7bdaf39b34c82 (patch)
treeed205c5630d6a55b04bf86c91afa096adc02cde2 /gdb/config/i386/xm-i386.h
parent3ea2c65123a1b7ffd80340f5ff39f9d132f28d0b (diff)
downloadgdb-511369b7d13b6912ac0541c054d7bdaf39b34c82.tar.gz
* config/i386/xm-i386.h: New file.
* config/i386/xm-fbsd.h: Removed. * config/i386/xm-linux.h: Removed. * config/i386/fbsd.mh: Reorganize a bit. (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h. * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of xm-linux.h.
Diffstat (limited to 'gdb/config/i386/xm-i386.h')
-rw-r--r--gdb/config/i386/xm-i386.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gdb/config/i386/xm-i386.h b/gdb/config/i386/xm-i386.h
new file mode 100644
index 00000000000..c7d92c98a81
--- /dev/null
+++ b/gdb/config/i386/xm-i386.h
@@ -0,0 +1,34 @@
+/* Host-dependent definitions for i386.
+ Copyright 2001 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef XM_I386_H
+#define XM_I386_H
+
+#include "floatformat.h"
+
+/* FIXME: kettenis/2001-07-29: Get rid of HOST_BYTE_ORDER when Andrew
+ has erradicated it from the sources. */
+#define HOST_BYTE_ORDER LITTLE_ENDIAN
+
+#define HOST_FLOAT_FORMAT &floatformat_ieee_single_little
+#define HOST_DOUBLE_FORMAT &floatformat_ieee_double_little
+#define HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext
+
+#endif /* XM_386_H */