From ed3980e72f9ad677828c1ff8cec3f1d5ad96ac59 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sat, 5 Oct 1996 18:16:34 +0000 Subject: [PATCH] Fixes from Chris Demetriou --- magic/Magdir/elf | 4 +++- magic/Magdir/netbsd | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/magic/Magdir/elf b/magic/Magdir/elf index 7772a77d..12f1edb8 100644 --- a/magic/Magdir/elf +++ b/magic/Magdir/elf @@ -34,6 +34,7 @@ >>18 leshort 7 Intel 80860, >>18 leshort 8 MIPS RS3000, >>18 leshort 9 Amdahl, +>>18 leshort 0x9026 Alpha, >>20 lelong 0 invalid version >>20 lelong 1 version 1 >>36 lelong 1 MathCoPro/FPU/MAU Required @@ -55,7 +56,8 @@ >>18 beshort 6 Intel 80486 - invalid byte order, >>18 beshort 7 Intel 80860, >>18 beshort 8 MIPS RS3000, ->>18 leshort 9 Amdahl, +>>18 beshort 9 Amdahl, +>>18 beshort 0x9026 Alpha, >>20 belong 0 invalid version >>20 belong 1 version 1 >>36 belong 1 MathCoPro/FPU/MAU Required diff --git a/magic/Magdir/netbsd b/magic/Magdir/netbsd index 9855b7da..2c8bb9a8 100644 --- a/magic/Magdir/netbsd +++ b/magic/Magdir/netbsd @@ -170,6 +170,15 @@ 0 belong&0377777777 043000507 NetBSD/vax core >12 string >\0 from '%s' +# NetBSD/alpha does not support (and has never supported) a.out objects, +# so no rules are provided for them. NetBSD/alpha ELF objects are +# dealt with in "elf". +0 leshort 0x00070185 ECOFF NetBSD/alpha binary +>10 leshort 0x0001 not stripped +>10 leshort 0x0000 stripped +0 belong&0377777777 043200507 NetBSD/alpha core +>12 string >\0 from '%s' + 0 belong&0377777777 043400413 NetBSD/mips demand paged >0 byte &0x80 >>20 belong <8192 shared library -- 2.40.0