1 --- file-3.38/Magdir/elf Thu May 16 20:45:57 2002
2 +++ file-3.38/Magdir/elf.org Mon May 20 09:23:02 2002
4 >>18 leshort 47 Hitachi H8/300H,
5 >>18 leshort 48 Hitachi H8S,
6 >>18 leshort 49 Hitachi H8/500,
7 ->>18 leshort 50 IA-64 (Intel 64 bit architecture)
8 +>>18 leshort 50 IA-64,
9 >>18 leshort 51 Stanford MIPS-X,
10 >>18 leshort 52 Motorola Coldfire,
11 >>18 leshort 53 Motorola M68HC12,
13 >>18 beshort 47 Hitachi H8/300H,
14 >>18 beshort 48 Hitachi H8S,
15 >>18 beshort 49 Hitachi H8/500,
16 ->>18 beshort 50 Intel Merced Processor,
17 +>>18 beshort 50 IA-64,
18 >>18 beshort 51 Stanford MIPS-X,
19 >>18 beshort 52 Motorola Coldfire,
20 >>18 beshort 53 Motorola M68HC12,
21 --- file-3.38/readelf.c Mon May 20 09:23:02 2002
22 +++ file-3.38/readelf.c.org Mon May 20 09:27:36 2002
25 (void) memcpy(&elfhdr, buf, sizeof elfhdr);
26 swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[5];
29 + swap = (u.c[sizeof(u.l) - 1] + 1) != elfhdr.e_ident[EI_DATA];
30 if (getu16(swap, elfhdr.e_type) == ET_CORE)
32 dophn_core(class, swap,