Commit Graph

158 Commits

Author SHA1 Message Date
fvdl bd1117828f Add x86-64. 2001-06-19 09:27:24 +00:00
kleink 042e6a7b90 Make this really work with MKSHARE=no. 2001-05-29 20:22:05 +00:00
itohy d1a3bcdc26 alpha core has signal number in little endian, no in big endian. 2001-05-16 00:52:48 +00:00
simonb 655e90b8b9 Make this cross-compile friendly - build a cut down program called
"mkmagic" out of apprentice.c and print.c that is built using the
host compiler and used to generate magic.mgc.
2001-05-09 14:05:52 +00:00
simonb afaa61c23a Use curly braces instead of parentheses around make(1) variables. 2001-05-09 13:58:25 +00:00
fvdl 947211629a magic.mgc needs ${PROG} to be created, so add a depenency. Makes
parallel make work.
2001-05-02 18:35:41 +00:00
itojun 7d01561a4c magic numbers for citrus locale declaration (/usr/share/locale). 2001-04-13 08:59:01 +00:00
pooka 6d1c97a829 Recognize big endian ld.so.hints file
from Christos
2001-04-13 08:19:48 +00:00
enami 2323af4522 Have an indivisual rule to build magic.mgc. 2001-03-31 01:31:49 +00:00
pooka b7aff9e185 run file from ${.OBJDIR} instead of ${.CURDIR} to make it work with
objdir builds also
2001-03-27 08:45:02 +00:00
pooka 2ace2c7db3 Missed magic.mgc from list of files to wipe out 2001-03-27 00:53:43 +00:00
pooka f5d91118e0 make this compile 2001-03-27 00:49:12 +00:00
pooka 27ed415ae8 switch to use new compressed magic file: magic.mgc 2001-03-27 00:48:59 +00:00
christos 8cf5c91631 PR/12437:Nathan J. Williams: jpeg detection broken because of match
in other file pattern
2001-03-20 01:30:23 +00:00
pooka 64f1971541 update for file 3.34 2001-03-17 11:32:15 +00:00
pooka 629aebf0e1 kill dupe RCS Id 2001-03-17 11:30:52 +00:00
pooka 85cfab9a41 make this compile with our warning flags 2001-03-17 11:25:32 +00:00
pooka a2f50a2443 resolve conflicts 2001-03-17 11:21:51 +00:00
pooka d58fff15f7 file 3.34 2001-03-17 11:06:52 +00:00
bjh21 d50dc71439 Since arm26 and arm32 now share a core file format, describe such a file
as a "NetBSD/arm core".
2001-02-13 23:56:13 +00:00
bjh21 27f2273eff Advanced RISC Machines Limited officially became ARM Limited on 1998-05-21.
Update the ARM ELF magic to match.
2001-02-13 14:35:21 +00:00
christos 5a144646f2 fix nested extern and duplicate decls 2001-02-05 01:51:52 +00:00
christos a36e2b78f7 fix arm32 confusion. There was a regression that changed 4096->8192
somewhere after 1.10. I am fixing this in the master source of file.
[this should be pulled up for 1.5.1]
2001-01-08 12:41:06 +00:00
itojun 8981b09426 add magic # for Hitachi SH COFF 2001-01-04 00:10:07 +00:00
pooka afe260e16b make this substitute __VARIBLES__ to correct values 2001-01-01 12:13:58 +00:00
pooka ce3f87994b magic man-page is in chapter 5, not chapter 1 2001-01-01 12:12:40 +00:00
pooka 299c5ebbdc tweak for 3.33 2000-11-23 23:22:58 +00:00
pooka d98ea99cc1 resolve conflicts 2000-11-23 23:21:14 +00:00
pooka 667236c7cd file 3.33 2000-11-23 23:07:30 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
mjl b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
pooka a8965df2d2 tweak for file 3.32 2000-09-22 16:53:39 +00:00
pooka e5efd07a0b resolve conflicts 2000-09-22 16:34:59 +00:00
pooka c45f82114c file 3.32 2000-09-22 16:01:07 +00:00
jeffs 9b80c90ec0 Print ABI and mips level for "real" little endian MIPS binaries too. 2000-08-13 06:33:03 +00:00
jeffs 45de998997 Handle MIPS little endian output better when bfd outputs magic 8 (MIPS BE)
instead of 10 (MIPS LE).
2000-08-10 19:12:40 +00:00
hubertf 6f5f0322c6 Allow file(1) Magic file to be recognized as such by file(1)
Noted in PR 10712 by Jun-ichiro itojun Hagino <itojun@itojun.org>
2000-07-31 00:39:29 +00:00
mycroft 9822fee1d0 Make the code to determine whether we need to byte-swap headers at least
pretend to work on 64-bit hosts (and not overrun an array).
2000-07-26 15:19:35 +00:00
tsubai 290cb2c943 Recognize NetBSD/powerpc core file. 2000-06-08 13:57:41 +00:00
soren 0abc97dcd7 Comment out RCS ID. 2000-05-14 23:28:43 +00:00
christos 5d9fa0390d Resolve conflicts 2000-05-14 22:53:37 +00:00
christos 0bb263b436 new file 3.31 2000-05-14 22:44:21 +00:00
mycroft 5cc7cec6d9 More .mk file fallout. 2000-01-23 18:00:38 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
tron 3f173f204a Increase default size of magic entries array to 4096 because NetBSD's
magic(5) has more than 2048 entries already.
1999-12-31 13:09:20 +00:00
tron 6f563995b5 Do reallaction of magic entries array carefully to avoid possible memory
leak. Patch based on PR bin/9081 by Jun-ichiro itojun Hagino.
1999-12-31 13:07:59 +00:00
jwise d6907ab16b Use <inttypes.h> to get typedefs of integral types instead of local #defines
in "config.h".  Makes this compile again.
1999-11-02 21:05:20 +00:00
christos 7d48644528 Resolve corn flakes. 1999-11-01 17:39:26 +00:00
christos 39cf80bb8c new version of file(1) 1999-11-01 17:30:12 +00:00
itojun 510eaf2f65 fix duplicated "leshort 42 Hitachi SH" (one of them should be "beshort").
(part of NetBSD/sh3 patches)
1999-09-12 16:38:16 +00:00