From 57348b300be0b7c51c07df556db93e3731b64b5a Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 11 Sep 2007 22:40:40 +0000 Subject: 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 --- .../binutils-buildid-arm.patch | 16 ++++++++++++++++ meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/binutils-buildid-arm.patch (limited to 'meta/packages') 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 000000000..68e35e89e --- /dev/null +++ b/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/binutils-buildid-arm.patch @@ -0,0 +1,16 @@ +--- + arch/arm/kernel/vmlinux.lds.S | 1 + + 1 file changed, 1 insertion(+) + +Index: linux-2.6.22/arch/arm/kernel/vmlinux.lds.S +=================================================================== +--- linux-2.6.22.orig/arch/arm/kernel/vmlinux.lds.S 2007-09-11 18:32:29.000000000 +0200 ++++ linux-2.6.22/arch/arm/kernel/vmlinux.lds.S 2007-09-11 18:33:42.000000000 +0200 +@@ -94,6 +94,7 @@ + TEXT_TEXT + SCHED_TEXT + LOCK_TEXT ++ *(.note.*) + #ifdef CONFIG_MMU + *(.fixup) + #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 533b9bb00..7f92a2886 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 @@ require linux-rp.inc -PR = "r2" +PR = "r3" DEFAULT_PREFERENCE = "-1" 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 \ file://squashfs3.0-2.6.15.patch;patch=1;status=external \ file://uvesafb-0.1-rc3-2.6.22.patch;patch=1;status=external \ file://htcuni.patch;patch=1 \ + file://binutils-buildid-arm.patch;patch=1 \ file://defconfig-c7x0 \ file://defconfig-hx2000 \ file://defconfig-collie \ -- cgit v1.2.3