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 | openembedded-core-57348b300be0b7c51c07df556db93e3731b64b5a.tar.gz openembedded-core-57348b300be0b7c51c07df556db93e3731b64b5a.tar.bz2 openembedded-core-57348b300be0b7c51c07df556db93e3731b64b5a.zip |
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 @@ +--- + 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 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 @@ 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 \ |