diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
commit | fc54b9bf158eea9cae647ce2c58f7d9989af173a (patch) | |
tree | 54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.24/1001-explicitly-link-notes-section.patch.patch | |
parent | d9f49b62b28ebd245587854efa484974d90debbf (diff) |
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1001-explicitly-link-notes-section.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1001-explicitly-link-notes-section.patch.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1001-explicitly-link-notes-section.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1001-explicitly-link-notes-section.patch.patch new file mode 100644 index 000000000..59886a223 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1001-explicitly-link-notes-section.patch.patch @@ -0,0 +1,29 @@ +From bc6ec8d17f2f4dcb70bc1a80ea0630eeb5372406 Mon Sep 17 00:00:00 2001 +From: mokopatches <mokopatches@openmoko.org> +Date: Fri, 4 Apr 2008 11:29:03 +0100 +Subject: [PATCH] explicitly-link-notes-section.patch + +Since 2.6.23 kbuild produces a 3GB arch/arm/boot/Image because it includes a +.note.gnu.build-id section at address 0 which is followed by 3GB of 0x00. +The --build-id option is set in the toplevel Makefile. +This patch explicitly puts the notes section after the TEXT section. +--- + arch/arm/kernel/vmlinux.lds.S | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S +index 5ff5406..e2922fc 100644 +--- a/arch/arm/kernel/vmlinux.lds.S ++++ b/arch/arm/kernel/vmlinux.lds.S +@@ -105,6 +105,8 @@ SECTIONS + *(.got) /* Global offset table */ + } + ++ NOTES ++ + RODATA + + _etext = .; /* End of text and rodata section */ +-- +1.5.6.5 + |