blob: 1f6bb96631d4c1371db44ed30bde613693aa99b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Index: oss4-4.2-build2004/setup/elflib.inc
===================================================================
--- oss4-4.2-build2004.orig/setup/elflib.inc 2011-06-14 11:33:23.000000000 -0500
+++ oss4-4.2-build2004/setup/elflib.inc 2011-06-14 11:33:24.000000000 -0500
@@ -81,7 +81,11 @@
}
if (hdr->e_ehsize != sizeof (*hdr))
{
- fprintf (stderr, "e_ehsize=%x (%x)\n", hdr->e_ehsize, sizeof (*hdr));
+ #if defined(__alpha__) || defined(__s390__) || defined(__ia64__)
+ fprintf (stderr, "e_ehsize=%x (%lx)\n", hdr->e_ehsize, sizeof (*hdr));
+ #else
+ fprintf (stderr, "e_ehsize=%x (%x)\n", hdr->e_ehsize, sizeof (*hdr));
+ #endif
return 0;
}
|