]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-rp_2.6.22+2.6.23-rc4: Fix objcopy confusion with bintuils 2.18
authorSamuel Ortiz <sameo@openedhand.com>
Tue, 11 Sep 2007 22:40:40 +0000 (22:40 +0000)
committerSamuel Ortiz <sameo@openedhand.com>
Tue, 11 Sep 2007 22:40:40 +0000 (22:40 +0000)
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

meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/binutils-buildid-arm.patch [new file with mode: 0644]
meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb

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 (file)
index 0000000..68e35e8
--- /dev/null
@@ -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
index 533b9bb0021dd92a8cf62cb05267d61fce3df011..7f92a2886f4ccf5721370432e3a1004386b48c4c 100644 (file)
@@ -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 \