summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-03-23 17:57:13 +0000
committermiod <miod@openbsd.org>2004-03-23 17:57:13 +0000
commita2acea4bdab918f3506f74fd5efce25e6139800e (patch)
tree58ccc582b7fdf2009610fceea59bcd4522509edb
parenttypo; (diff)
downloadwireguard-openbsd-a2acea4bdab918f3506f74fd5efce25e6139800e.tar.xz
wireguard-openbsd-a2acea4bdab918f3506f74fd5efce25e6139800e.zip
Recognize amd64 binaries and coredumps; ok todd@ deraadt@ drahn@
-rw-r--r--usr.bin/file/magdir/OpenBSD2
-rw-r--r--usr.bin/file/magdir/elf3
2 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/OpenBSD b/usr.bin/file/magdir/OpenBSD
index 61ff3907b64..b967521c328 100644
--- a/usr.bin/file/magdir/OpenBSD
+++ b/usr.bin/file/magdir/OpenBSD
@@ -262,3 +262,5 @@
>16 lelong >0 not stripped
0 belong&0377777777 043600507 OpenBSD/arm core
>12 string >\0 from '%s'
+0 belong&0377777777 047200507 OpenBSD/amd64 core
+>12 string >\0 from '%s'
diff --git a/usr.bin/file/magdir/elf b/usr.bin/file/magdir/elf
index 69561a64b6d..a87cce1c9d2 100644
--- a/usr.bin/file/magdir/elf
+++ b/usr.bin/file/magdir/elf
@@ -42,6 +42,7 @@
>>18 leshort 20 PowerPC,
>>18 leshort 40 ARM,
>>18 leshort 43 Sparc64 - invalid byte order,
+>>18 leshort 62 Amd64,
>>18 leshort 75 VAX,
>>18 leshort 0x9026 Alpha,
>>20 lelong 0 invalid version
@@ -72,7 +73,9 @@
>>18 beshort 17 VPP500,
>>18 beshort 18 SPARC32PLUS,
>>18 beshort 20 PowerPC,
+>>18 beshort 40 ARM,
>>18 beshort 43 Sparc64,
+>>18 beshort 62 Amd64 - invalid byte order,
>>18 beshort 75 VAX - invalid byte order,
>>18 beshort 0x9026 Alpha,
>>20 belong 0 invalid version