]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
authorJohn Gilmore <gnu@cygnus>
Fri, 31 Jan 1992 07:59:13 +0000 (07:59 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 31 Jan 1992 07:59:13 +0000 (07:59 +0000)
Specify byte order.
* hosts/h-vaxbsd.h:  Define the form of exec and core files.

bfd/ChangeLog
bfd/hosts/tahoe.h
bfd/hosts/vaxbsd.h

index e8b33ea0edc4fb96c777c44a7b67890644c22543..c99f2471268c522ba0326f57657a7cbfcdaa3223 100644 (file)
@@ -4,6 +4,9 @@ Thu Jan 30 23:51:07 1992  John Gilmore  (gnu at cygnus.com)
        * aout-target.h:  Use TARGET_BIG_ENDIAN_P to set up vector.
        * host-aout.c:  Don't use aout-params.h; configure these systems
        in their xm files, not in a randomly generated file.
+       * hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
+       Specify byte order.
+       * hosts/h-vaxbsd.h:  Define the form of exec and core files.
 
 Thu Jan 30 13:02:41 1992  Per Bothner  (bothner at cygnus.com)
 
index 99147c0e33d1ef6318a140aa20109ceb499c4ef0..5a88ea4942f1056159a22023dfd19d602827b4a1 100644 (file)
@@ -22,6 +22,7 @@
 
 #define        HOST_TEXT_START_ADDR    0
 #define        HOST_STACK_END_ADDR     KERNBASE
+#define        HOST_BIG_ENDIAN_P
 
 /* EXACT TYPES */
 typedef char int8e_type;
@@ -38,18 +39,4 @@ typedef short int16_type;
 typedef unsigned short uint16_type;
 typedef int int32_type;
 typedef unsigned int uint32_type;
-/* 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+"
+#include "fopen-same.h"
index a818c779909cb68dfe213342461d64e79b7ca978..a8670816c75106a72f15566bec226834f0b96322 100644 (file)
 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
 #endif
 
+#undef ALIGN                   /* They use it, we use it too */
+#include <machine/param.h>
+#undef ALIGN                   /* They use it, we use it too */
+
+#define        HOST_PAGE_SIZE          NBPG
+#define        HOST_MACHINE_ARCH       bfd_arch_vax
+
+#define        HOST_TEXT_START_ADDR    0
+#define        HOST_STACK_END_ADDR     KERNBASE
+#undef HOST_BIG_ENDIAN_P
+
 /* EXACT TYPES */
 typedef char int8e_type;
 typedef unsigned char uint8e_type;
@@ -27,18 +38,4 @@ typedef short int16_type;
 typedef unsigned short uint16_type;
 typedef int int32_type;
 typedef unsigned int uint32_type;
-/* 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+"
+#include "fopen-same.h"