summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhugh <hugh@openbsd.org>2001-03-16 04:45:15 +0000
committerhugh <hugh@openbsd.org>2001-03-16 04:45:15 +0000
commit723aa4e99c521ec4bda41cc64d9944d85c5a210e (patch)
tree0ef9687a25cc150666bfce1c71a23d108c8f6e2f
parentAdd the VAX magic number. (diff)
downloadwireguard-openbsd-723aa4e99c521ec4bda41cc64d9944d85c5a210e.tar.xz
wireguard-openbsd-723aa4e99c521ec4bda41cc64d9944d85c5a210e.zip
Add magic for vax-elf and vax-olf. At this time roughly as likely to be
seen in the wild as unicorns, and ultraviolet griffins, respectively.
-rw-r--r--usr.bin/file/magdir/elf2
-rw-r--r--usr.bin/file/magdir/olf2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/elf b/usr.bin/file/magdir/elf
index 3da99d08e2b..fe8b93214f0 100644
--- a/usr.bin/file/magdir/elf
+++ b/usr.bin/file/magdir/elf
@@ -40,6 +40,7 @@
>>18 leshort 17 VPP500,
>>18 leshort 18 SPARC32PLUS,
>>18 leshort 20 PowerPC,
+>>18 leshort 75 VAX,
>>18 leshort 0x9026 Alpha,
>>20 lelong 0 invalid version
>>20 lelong 1 version 1
@@ -69,6 +70,7 @@
>>18 beshort 17 VPP500,
>>18 beshort 18 SPARC32PLUS,
>>18 beshort 20 PowerPC,
+>>18 beshort 75 VAX - invalid byte order,
>>18 beshort 0x9026 Alpha,
>>20 belong 0 invalid version
>>20 belong 1 version 1
diff --git a/usr.bin/file/magdir/olf b/usr.bin/file/magdir/olf
index da1fcc3e4ab..0a9c2cc9ad1 100644
--- a/usr.bin/file/magdir/olf
+++ b/usr.bin/file/magdir/olf
@@ -47,6 +47,7 @@
>>18 leshort 7 Intel 80860,
>>18 leshort 8 MIPS R3000,
>>18 leshort 9 Amdahl,
+>>18 leshort 75 VAX,
>>20 lelong 0 invalid version
>>20 lelong 1 version 1
>>36 lelong 1 MathCoPro/FPU/MAU Required
@@ -66,6 +67,7 @@
>>18 beshort 6 Intel 80486 - invalid byte order,
>>18 beshort 7 Intel 80860,
>>18 beshort 8 MIPS R3000,
+>>18 beshort 75 VAX - invalid byte order,
>>18 leshort 9 Amdahl,
>>20 belong 0 invalid version
>>20 belong 1 version 1