diff options
author | Samuel Ortiz <sameo@openedhand.com> | 2007-09-11 22:40:40 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2007-09-11 22:40:40 +0000 |
commit | 57348b300be0b7c51c07df556db93e3731b64b5a (patch) | |
tree | 912833ba20f8db48d6f4b212557fa88466204dcd | |
parent | 7c5e63702a18d6c53fcbf75ee3a90cd1e1526391 (diff) | |
download | poky-57348b300be0b7c51c07df556db93e3731b64b5a.tar.gz |
linux-rp_2.6.22+2.6.23-rc4: Fix objcopy confusion with bintuils 2.18
With binutils 2.18, on x86_64, objcopy gets confused with the
.note.gnu.build-id section and produces a 3.1 Go Image file.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2726 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/binutils-buildid-arm.patch | 16 | ||||
-rw-r--r-- | meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/binutils-buildid-arm.patch b/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/binutils-buildid-arm.patch new file mode 100644 index 0000000000..68e35e89e1 --- /dev/null +++ b/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/binutils-buildid-arm.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | --- | ||
2 | arch/arm/kernel/vmlinux.lds.S | 1 + | ||
3 | 1 file changed, 1 insertion(+) | ||
4 | |||
5 | Index: linux-2.6.22/arch/arm/kernel/vmlinux.lds.S | ||
6 | =================================================================== | ||
7 | --- linux-2.6.22.orig/arch/arm/kernel/vmlinux.lds.S 2007-09-11 18:32:29.000000000 +0200 | ||
8 | +++ linux-2.6.22/arch/arm/kernel/vmlinux.lds.S 2007-09-11 18:33:42.000000000 +0200 | ||
9 | @@ -94,6 +94,7 @@ | ||
10 | TEXT_TEXT | ||
11 | SCHED_TEXT | ||
12 | LOCK_TEXT | ||
13 | + *(.note.*) | ||
14 | #ifdef CONFIG_MMU | ||
15 | *(.fixup) | ||
16 | #endif | ||
diff --git a/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb b/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb index 533b9bb002..7f92a2886f 100644 --- a/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb +++ b/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require linux-rp.inc | 1 | require linux-rp.inc |
2 | 2 | ||
3 | PR = "r2" | 3 | PR = "r3" |
4 | 4 | ||
5 | DEFAULT_PREFERENCE = "-1" | 5 | DEFAULT_PREFERENCE = "-1" |
6 | DEFAULT_PREFERENCE_htcuniversal = "1" | 6 | DEFAULT_PREFERENCE_htcuniversal = "1" |
@@ -51,6 +51,7 @@ SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.tar.bz2 \ | |||
51 | file://squashfs3.0-2.6.15.patch;patch=1;status=external \ | 51 | file://squashfs3.0-2.6.15.patch;patch=1;status=external \ |
52 | file://uvesafb-0.1-rc3-2.6.22.patch;patch=1;status=external \ | 52 | file://uvesafb-0.1-rc3-2.6.22.patch;patch=1;status=external \ |
53 | file://htcuni.patch;patch=1 \ | 53 | file://htcuni.patch;patch=1 \ |
54 | file://binutils-buildid-arm.patch;patch=1 \ | ||
54 | file://defconfig-c7x0 \ | 55 | file://defconfig-c7x0 \ |
55 | file://defconfig-hx2000 \ | 56 | file://defconfig-hx2000 \ |
56 | file://defconfig-collie \ | 57 | file://defconfig-collie \ |