]>
Commit | Line | Data |
---|---|---|
08aa9d92 | 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 | |
3 | @@ -15,7 +15,8 @@ | |
4 | #include <stdio.h> | |
5 | #include <ctype.h> | |
6 | #include "modpost.h" | |
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" | |
11 | ||
12 | /* Some toolchains use a `_' prefix for all user symbols. */ | |
13 | ||
2136e199 AM |
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 | |
16 | @@ -9,6 +9,12 @@ | |
17 | $cc -print-file-name=lib${lib}.${ext} | grep -q / | |
18 | if [ $? -eq 0 ]; then | |
19 | echo "-l${lib}" | |
20 | + for libt in tinfow tinfo ; do | |
21 | + $cc -print-file-name=lib${libt}.${ext} | grep -q / | |
22 | + if [ $? -eq 0 ]; then | |
23 | + echo "-l${libt}" | |
24 | + fi | |
25 | + done | |
26 | exit | |
27 | fi | |
28 | done | |
a221fc0a | 29 | |
778e721c AM |
30 | ; kernel-orc.patch |
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; | |
38 | char *name; | |
39 | - unsigned long nr_sections, orc_ip_addr = 0; | |
40 | + size_t nr_sections; | |
41 | + Elf64_Addr orc_ip_addr = 0; | |
42 | size_t shstrtab_idx; | |
43 | Elf *elf; | |
44 | Elf_Scn *scn; | |
45 | @@ -187,10 +188,10 @@ int orc_dump(const char *_objname) | |
46 | return -1; | |
47 | } | |
48 | ||
49 | - printf("%s+%lx:", name, rela.r_addend); | |
50 | + printf("%s+%llx:", name, (unsigned long long)rela.r_addend); | |
51 | ||
52 | } else { | |
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])); | |
55 | } | |
56 | ||
57 | ||
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 | |
63 | endif | |
64 | ||
65 | # always use the host compiler | |
66 | -CC = gcc | |
67 | -LD = ld | |
68 | +CC = $(HOSTCC) | |
69 | +HOSTLD ?= ld | |
70 | +LD = $(HOSTLD) | |
71 | AR = ar | |
72 | ||
73 | ifeq ($(srctree),) |