aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/decstation.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-08-28 00:08:13 +0000
committerIan Lance Taylor <ian@airs.com>1992-08-28 00:08:13 +0000
commit8e3d11580a618ef60a4581c69d9db5fced2ddd9c (patch)
tree270b7f72c2a84ec5204bf56d14e2a705dbccc1e0 /bfd/hosts/decstation.h
parentde0f17d8901e9fa35a53915983d4c422c52681f0 (diff)
downloadgdb-8e3d11580a618ef60a4581c69d9db5fced2ddd9c.zip
gdb-8e3d11580a618ef60a4581c69d9db5fced2ddd9c.tar.gz
gdb-8e3d11580a618ef60a4581c69d9db5fced2ddd9c.tar.bz2
Thu Aug 27 17:01:04 1992 Ian Lance Taylor (ian@cygnus.com)
* targets.c, config/i960-bout.mt, hosts/*: added HOST_BIG_ENDIAN_DEFAULT_VECTOR and HOST_LITTLE_ENDIAN_DEFAULT_VECTOR because bout archive format depends on the endianness of the host. Added #define HOST_BIG_ENDIAN_P and #undef HOST_BIG_ENDIAN_P to a number of configuration files in hosts/ (it was already in some).
Diffstat (limited to 'bfd/hosts/decstation.h')
-rw-r--r--bfd/hosts/decstation.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/bfd/hosts/decstation.h b/bfd/hosts/decstation.h
index 64a5e92..49e945a 100644
--- a/bfd/hosts/decstation.h
+++ b/bfd/hosts/decstation.h
@@ -23,22 +23,10 @@
#define HOST_TEXT_START_ADDR USRTEXT
#define HOST_DATA_START_ADDR USRDATA
#define HOST_STACK_END_ADDR USRSTACK
-/* Macros for the 'type' part of an fopen, freopen or fdopen.
- <Read|Write>[Update]<Binary file><text file>
- */
-#define FOPEN_RB "r"
-#define FOPEN_WB "w"
-#define FOPEN_AB "a"
-#define FOPEN_RUB "r+"
-#define FOPEN_WUB "w+"
-#define FOPEN_AUB "a+"
-#define FOPEN_RT "r"
-#define FOPEN_WT "w"
-#define FOPEN_AT "a"
-#define FOPEN_RUT "r+"
-#define FOPEN_WUT "w+"
-#define FOPEN_AUT "a+"
+#undef HOST_BIG_ENDIAN_P
+
+#include "fopen-same.h"
/* EXACT TYPES */
typedef char int8e_type;