Package: file
Version: 4.12-1
Severity: wishlist
Tags: patch

Attached is a patch for detection of OpenRISC binaries (these can be either
BE or LE).

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)

Versions of packages file depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libmagic1                   4.12-1       File type determination library us
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information
diff -ur file-4.12.old/magic/Magdir/elf file-4.12/magic/Magdir/elf
--- file-4.12.old/magic/Magdir/elf      2004-11-21 17:34:11.000000000 +0100
+++ file-4.12/magic/Magdir/elf  2005-06-24 22:23:11.000000000 +0200
@@ -105,6 +105,9 @@
 >>18   leshort         62              AMD x86-64,
 >>18   leshort         75              Digital VAX,
 >>18   leshort         88              Renesas M32R,
+>>18   leshort         92              OpenRISC,
+>>18   leshort         0x3426          OpenRISC (obsolete),
+>>18   leshort         0x8472          OpenRISC (obsolete),
 >>18   leshort         97              NatSemi 32k,
 >>18   leshort         0x9026          Alpha (unofficial),
 >>20   lelong          0               invalid version
@@ -194,6 +197,9 @@
 >>18   beshort         73              Cray NV1,
 >>18   beshort         75              Digital VAX,
 >>18   beshort         88              Renesas M32R,
+>>18   beshort         92              OpenRISC,
+>>18   beshort         0x3426          OpenRISC (obsolete),
+>>18   beshort         0x8472          OpenRISC (obsolete),
 >>18   beshort         97              NatSemi 32k,
 >>18   beshort         0x9026          Alpha (unofficial),
 >>18   beshort         0xa390          IBM S/390 (obsolete),

Reply via email to