1995-10-28 02:33:14 +03:00
|
|
|
|
1995-03-26 01:35:28 +03:00
|
|
|
#------------------------------------------------------------------------------
|
1995-10-28 02:33:14 +03:00
|
|
|
# netbsd: file(1) magic for NetBSD objects
|
1993-06-14 03:43:00 +04:00
|
|
|
#
|
|
|
|
# All new-style magic numbers are in network byte order.
|
|
|
|
#
|
1993-11-03 09:03:15 +03:00
|
|
|
|
1993-11-03 10:33:28 +03:00
|
|
|
0 lelong 000000407 NetBSD little-endian object file
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong 000000407 NetBSD big-endian object file
|
|
|
|
>16 belong >0 not stripped
|
|
|
|
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 041400413 NetBSD/i386 demand paged
|
1993-11-03 07:09:39 +03:00
|
|
|
>0 byte &0x80
|
|
|
|
>>20 lelong <4096 shared library
|
|
|
|
>>20 lelong =4096 dynamically linked executable
|
|
|
|
>>20 lelong >4096 dynamically linked executable
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 lelong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 041400410 NetBSD/i386 pure
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 lelong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 041400407 NetBSD/i386
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
1993-11-03 10:33:28 +03:00
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1993-11-03 10:33:28 +03:00
|
|
|
>>20 lelong !0 executable
|
|
|
|
>>20 lelong =0 object file
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 lelong >0 not stripped
|
1994-09-25 02:32:19 +03:00
|
|
|
0 belong&0377777777 041400507 NetBSD/i386 core
|
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 lelong !0 (signal %d)
|
1993-08-09 13:55:18 +04:00
|
|
|
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 041600413 NetBSD/m68k demand paged
|
1993-11-03 07:09:39 +03:00
|
|
|
>0 byte &0x80
|
1993-11-03 10:45:55 +03:00
|
|
|
>>20 belong <8192 shared library
|
|
|
|
>>20 belong =8192 dynamically linked executable
|
|
|
|
>>20 belong >8192 dynamically linked executable
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 041600410 NetBSD/m68k pure
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 041600407 NetBSD/m68k
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
1993-11-03 10:33:28 +03:00
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1993-11-03 10:33:28 +03:00
|
|
|
>>20 belong !0 executable
|
|
|
|
>>20 belong =0 object file
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1994-09-25 02:32:19 +03:00
|
|
|
0 belong&0377777777 041600507 NetBSD/m68k core
|
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 belong !0 (signal %d)
|
1993-08-09 13:55:18 +04:00
|
|
|
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042000413 NetBSD/m68k4k demand paged
|
1993-11-03 07:09:39 +03:00
|
|
|
>0 byte &0x80
|
|
|
|
>>20 belong <4096 shared library
|
|
|
|
>>20 belong =4096 dynamically linked executable
|
|
|
|
>>20 belong >4096 dynamically linked executable
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042000410 NetBSD/m68k4k pure
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042000407 NetBSD/m68k4k
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
1993-11-03 10:33:28 +03:00
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1993-11-03 10:33:28 +03:00
|
|
|
>>20 belong !0 executable
|
|
|
|
>>20 belong =0 object file
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1994-09-25 02:32:19 +03:00
|
|
|
0 belong&0377777777 042000507 NetBSD/m68k4k core
|
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 belong !0 (signal %d)
|
1993-10-28 22:29:48 +03:00
|
|
|
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042200413 NetBSD/ns32532 demand paged
|
1993-11-03 07:09:39 +03:00
|
|
|
>0 byte &0x80
|
|
|
|
>>20 lelong <4096 shared library
|
|
|
|
>>20 lelong =4096 dynamically linked executable
|
|
|
|
>>20 lelong >4096 dynamically linked executable
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 lelong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042200410 NetBSD/ns32532 pure
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 lelong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042200407 NetBSD/ns32532
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
1993-11-03 10:33:28 +03:00
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1993-11-03 10:33:28 +03:00
|
|
|
>>20 lelong !0 executable
|
|
|
|
>>20 lelong =0 object file
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 lelong >0 not stripped
|
1994-09-25 02:32:19 +03:00
|
|
|
0 belong&0377777777 042200507 NetBSD/ns32532 core
|
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 lelong !0 (signal %d)
|
1993-10-28 22:29:48 +03:00
|
|
|
|
2000-06-08 17:57:41 +04:00
|
|
|
0 belong&0377777777 045200507 NetBSD/powerpc core
|
|
|
|
>12 string >\0 from '%s'
|
|
|
|
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042400413 NetBSD/sparc demand paged
|
1993-11-03 07:09:39 +03:00
|
|
|
>0 byte &0x80
|
1993-11-03 10:45:55 +03:00
|
|
|
>>20 belong <8192 shared library
|
|
|
|
>>20 belong =8192 dynamically linked executable
|
|
|
|
>>20 belong >8192 dynamically linked executable
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042400410 NetBSD/sparc pure
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1993-11-03 11:03:16 +03:00
|
|
|
0 belong&0377777777 042400407 NetBSD/sparc
|
1993-11-03 03:40:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
1993-11-03 10:33:28 +03:00
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1993-11-03 10:33:28 +03:00
|
|
|
>>20 belong !0 executable
|
|
|
|
>>20 belong =0 object file
|
1993-11-03 07:09:39 +03:00
|
|
|
>16 belong >0 not stripped
|
1994-09-25 02:32:19 +03:00
|
|
|
0 belong&0377777777 042400507 NetBSD/sparc core
|
1994-05-25 18:45:03 +04:00
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 belong !0 (signal %d)
|
1994-05-25 18:45:03 +04:00
|
|
|
|
1994-09-25 02:32:19 +03:00
|
|
|
0 belong&0377777777 042600413 NetBSD/pmax demand paged
|
|
|
|
>0 byte &0x80
|
|
|
|
>>20 lelong <4096 shared library
|
|
|
|
>>20 lelong =4096 dynamically linked executable
|
|
|
|
>>20 lelong >4096 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 042600410 NetBSD/pmax pure
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 042600407 NetBSD/pmax
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1994-09-25 02:32:19 +03:00
|
|
|
>>20 lelong !0 executable
|
|
|
|
>>20 lelong =0 object file
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 042600507 NetBSD/pmax core
|
1994-05-25 18:45:03 +04:00
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 lelong !0 (signal %d)
|
1994-05-25 18:45:03 +04:00
|
|
|
|
1998-10-12 05:41:32 +04:00
|
|
|
0 belong&0377777777 043000413 NetBSD/vax 1k demand paged
|
1994-09-25 02:32:19 +03:00
|
|
|
>0 byte &0x80
|
|
|
|
>>20 lelong <4096 shared library
|
|
|
|
>>20 lelong =4096 dynamically linked executable
|
|
|
|
>>20 lelong >4096 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
1998-10-12 05:41:32 +04:00
|
|
|
0 belong&0377777777 043000410 NetBSD/vax 1k pure
|
1994-09-25 02:32:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
1998-10-12 05:41:32 +04:00
|
|
|
0 belong&0377777777 043000407 NetBSD/vax 1k
|
1994-09-25 02:32:19 +03:00
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1994-09-25 02:32:19 +03:00
|
|
|
>>20 lelong !0 executable
|
|
|
|
>>20 lelong =0 object file
|
|
|
|
>16 lelong >0 not stripped
|
1998-10-12 05:41:32 +04:00
|
|
|
0 belong&0377777777 043000507 NetBSD/vax 1k core
|
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 lelong !0 (signal %d)
|
1998-10-12 05:41:32 +04:00
|
|
|
|
|
|
|
0 belong&0377777777 045400413 NetBSD/vax 4k demand paged
|
|
|
|
>0 byte &0x80
|
|
|
|
>>20 lelong <4096 shared library
|
|
|
|
>>20 lelong =4096 dynamically linked executable
|
|
|
|
>>20 lelong >4096 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 045400410 NetBSD/vax 4k pure
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 045400407 NetBSD/vax 4k
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80
|
|
|
|
>>0 byte &0x40 position independent
|
|
|
|
>>20 lelong !0 executable
|
|
|
|
>>20 lelong =0 object file
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 045400507 NetBSD/vax 4k core
|
1994-05-25 18:45:03 +04:00
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 lelong !0 (signal %d)
|
1994-05-25 18:45:03 +04:00
|
|
|
|
1996-10-06 00:20:24 +04:00
|
|
|
# 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".
|
1998-09-20 19:27:15 +04:00
|
|
|
0 lelong 0x00070185 ECOFF NetBSD/alpha binary
|
1996-10-06 00:20:24 +04:00
|
|
|
>10 leshort 0x0001 not stripped
|
|
|
|
>10 leshort 0x0000 stripped
|
|
|
|
0 belong&0377777777 043200507 NetBSD/alpha core
|
|
|
|
>12 string >\0 from '%s'
|
2001-05-16 04:52:48 +04:00
|
|
|
>32 lelong !0 (signal %d)
|
1996-10-06 00:20:24 +04:00
|
|
|
|
1994-09-25 02:32:19 +03:00
|
|
|
0 belong&0377777777 043400413 NetBSD/mips demand paged
|
|
|
|
>0 byte &0x80
|
|
|
|
>>20 belong <8192 shared library
|
|
|
|
>>20 belong =8192 dynamically linked executable
|
|
|
|
>>20 belong >8192 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 belong >0 not stripped
|
|
|
|
0 belong&0377777777 043400410 NetBSD/mips pure
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 belong >0 not stripped
|
|
|
|
0 belong&0377777777 043400407 NetBSD/mips
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80
|
1995-01-29 17:55:28 +03:00
|
|
|
>>0 byte &0x40 position independent
|
1994-09-25 02:32:19 +03:00
|
|
|
>>20 belong !0 executable
|
|
|
|
>>20 belong =0 object file
|
|
|
|
>16 belong >0 not stripped
|
|
|
|
0 belong&0377777777 043400507 NetBSD/mips core
|
1994-05-25 18:45:03 +04:00
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 belong !0 (signal %d)
|
1996-04-02 01:29:51 +04:00
|
|
|
|
|
|
|
0 belong&0377777777 043600413 NetBSD/arm32 demand paged
|
|
|
|
>0 byte &0x80
|
2001-01-08 15:41:06 +03:00
|
|
|
>>20 lelong <4096 shared library
|
|
|
|
>>20 lelong =4096 dynamically linked executable
|
|
|
|
>>20 lelong >4096 dynamically linked executable
|
1996-04-02 01:29:51 +04:00
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 043600410 NetBSD/arm32 pure
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
0 belong&0377777777 043600407 NetBSD/arm32
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80
|
|
|
|
>>0 byte &0x40 position independent
|
|
|
|
>>20 lelong !0 executable
|
|
|
|
>>20 lelong =0 object file
|
|
|
|
>16 lelong >0 not stripped
|
2001-02-14 02:56:13 +03:00
|
|
|
# NetBSD/arm26 has always used ELF objects, but it shares a core file
|
|
|
|
# format with NetBSD/arm32.
|
|
|
|
0 belong&0377777777 043600507 NetBSD/arm core
|
1996-04-02 01:29:51 +04:00
|
|
|
>12 string >\0 from '%s'
|
2000-09-22 20:34:59 +04:00
|
|
|
>32 lelong !0 (signal %d)
|