1 --- linux-2.6.33/scripts/mod/modpost.c~ 2010-02-24 19:52:17.000000000 +0100
2 +++ linux-2.6.33/scripts/mod/modpost.c 2010-03-07 14:26:47.242168558 +0100
7 -#include "../../include/generated/autoconf.h"
8 +// PLD architectures don't use CONFIG_SYMBOL_PREFIX
9 +//#include "../../include/generated/autoconf.h"
10 #include "../../include/linux/license.h"
12 /* Some toolchains use a `_' prefix for all user symbols. */
14 --- linux-3.0/scripts/kconfig/lxdialog/check-lxdialog.sh~ 2011-07-22 04:17:23.000000000 +0200
15 +++ linux-3.0/scripts/kconfig/lxdialog/check-lxdialog.sh 2011-08-25 21:26:04.799150642 +0200
17 $cc -print-file-name=lib${lib}.${ext} | grep -q /
20 + for libt in tinfow tinfo ; do
21 + $cc -print-file-name=lib${libt}.${ext} | grep -q /
22 + if [ $? -eq 0 ]; then
31 Index: linux-2.6/tools/objtool/orc_dump.c
32 ===================================================================
33 --- linux-2.6.orig/tools/objtool/orc_dump.c
34 +++ linux-2.6/tools/objtool/orc_dump.c
35 @@ -76,7 +76,8 @@ int orc_dump(const char *_objname)
36 int fd, nr_entries, i, *orc_ip = NULL, orc_size = 0;
37 struct orc_entry *orc = NULL;
39 - unsigned long nr_sections, orc_ip_addr = 0;
41 + Elf64_Addr orc_ip_addr = 0;
45 @@ -187,10 +188,10 @@ int orc_dump(const char *_objname)
49 - printf("%s+%lx:", name, rela.r_addend);
50 + printf("%s+%llx:", name, (unsigned long long)rela.r_addend);
53 - printf("%lx:", orc_ip_addr + (i * sizeof(int)) + orc_ip[i]);
54 + printf("%llx:", (unsigned long long)(orc_ip_addr + (i * sizeof(int)) + orc_ip[i]));
58 Index: linux-2.6/tools/objtool/Makefile
59 ===================================================================
60 --- linux-2.6.orig/tools/objtool/Makefile
61 +++ linux-2.6/tools/objtool/Makefile
62 @@ -7,8 +7,9 @@ ARCH := x86
65 # always use the host compiler