aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/decstation.h
diff options
context:
space:
mode:
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;