diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2001-11-14 16:21:03 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2001-11-14 16:21:03 +0000 |
commit | 869efcfbe774d59cb9f62a57ef202fd46068f2bc (patch) | |
tree | 39b32a483d420c4c8ccf7bf08f71ffc4f13f8f41 /gnu/usr.bin/binutils | |
parent | afbae239baf77f33fd2b07cf128861865e1d980b (diff) |
Change Vax aout magic and set binary page size to 4k.
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/libaout.h | 3 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/bfd/vaxnetbsd.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/bfd/libaout.h b/gnu/usr.bin/binutils/bfd/libaout.h index 7001d3dc6d4..7c011d47176 100644 --- a/gnu/usr.bin/binutils/bfd/libaout.h +++ b/gnu/usr.bin/binutils/bfd/libaout.h @@ -230,10 +230,11 @@ enum machine_type { M_532_NETBSD = 137, /* NetBSD/ns32k binary */ M_SPARC_NETBSD = 138, /* NetBSD/sparc binary */ M_PMAX_NETBSD = 139, /* NetBSD/pmax (MIPS little-endian) binary */ - M_VAX_NETBSD = 140, /* NetBSD/vax binary */ + M_VAX1K_NETBSD = 140, /* old NetBSD/vax binary */ M_ALPHA_NETBSD = 141, /* NetBSD/alpha binary */ M_ARM6_NETBSD = 143, /* NetBSD/arm32 binary */ M_SPARCLET_1 = 147, /* 0x93, reserved */ + M_VAX_NETBSD = 150, /* NetBSD/vax binary */ M_MIPS1 = 151, /* MIPS R2000/R3000 binary */ M_MIPS2 = 152, /* MIPS R4000/R6000 binary */ M_SPARCLET_2 = 163, /* 0xa3, reserved */ diff --git a/gnu/usr.bin/binutils/bfd/vaxnetbsd.c b/gnu/usr.bin/binutils/bfd/vaxnetbsd.c index e137d093c6f..612e3fc2970 100644 --- a/gnu/usr.bin/binutils/bfd/vaxnetbsd.c +++ b/gnu/usr.bin/binutils/bfd/vaxnetbsd.c @@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define BYTES_IN_WORD 4 #undef TARGET_IS_BIG_ENDIAN_P -#define TARGET_PAGE_SIZE 1024 +#define TARGET_PAGE_SIZE 4096 #define SEGMENT_SIZE TARGET_PAGE_SIZE #define DEFAULT_ARCH bfd_arch_vax |