SHA256
3
0
forked from pool/file
file/elf-invalid-byte-order.patch
2013-05-27 07:34:02 +00:00

32 lines
1.2 KiB
Diff

--- file-5.14/magic/Magdir/elf.~1~ 2013-03-21 18:50:02.000000000 +0100
+++ file-5.14/magic/Magdir/elf 2013-05-26 12:17:31.439378748 +0200
@@ -36,10 +36,10 @@
>18 leshort 3 Intel 80386,
>18 leshort 4 Motorola
>>4 byte 1
->>>36 lelong &0x01000000 68000 - invalid byte order,
->>>36 lelong &0x00810000 CPU32 - invalid byte order,
->>>36 lelong 0 68020 - invalid byte order,
->18 leshort 5 Motorola 88000 - invalid byte order,
+>>>36 lelong &0x01000000 68000,
+>>>36 lelong &0x00810000 CPU32,
+>>>36 lelong 0 68020,
+>18 leshort 5 Motorola 88000,
>18 leshort 6 Intel 80486,
>18 leshort 7 Intel 80860,
# The official e_machine number for MIPS is now #8, regardless of endianness.
@@ -74,10 +74,10 @@
>>>48 lelong&0xf0000000 0x60000000 MIPS64
>>>48 lelong&0xf0000000 0x70000000 MIPS32 rel2
>>>48 lelong&0xf0000000 0x80000000 MIPS64 rel2
->18 leshort 9 Amdahl - invalid byte order,
+>18 leshort 9 Amdahl,
>18 leshort 10 MIPS (deprecated),
->18 leshort 11 RS6000 - invalid byte order,
->18 leshort 15 PA-RISC - invalid byte order,
+>18 leshort 11 RS6000,
+>18 leshort 15 PA-RISC,
# only for 32-bit
>>4 byte 1
>>>38 leshort 0x0214 2.0