diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 00:02:36 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 00:02:36 +0000 |
commit | b9dfb81f2aa45be745a8aed9684076210aed4152 (patch) | |
tree | aceadd7f37096911a29c929988cbcf7c964a1c0b /target/linux/s3c24xx/patches/0001-explicitly-link-notes-section.patch.patch | |
parent | 4571721ec22de116ad9998657e0a3c12da6405fb (diff) | |
download | upstream-b9dfb81f2aa45be745a8aed9684076210aed4152.tar.gz upstream-b9dfb81f2aa45be745a8aed9684076210aed4152.tar.bz2 upstream-b9dfb81f2aa45be745a8aed9684076210aed4152.zip |
add support for target 3c24xx (more known as Openmoko GTA02 "Freerunner") and merge it with the openmoko-target and the work Michael Buesch <mb> did
SVN-Revision: 13609
Diffstat (limited to 'target/linux/s3c24xx/patches/0001-explicitly-link-notes-section.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches/0001-explicitly-link-notes-section.patch.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches/0001-explicitly-link-notes-section.patch.patch b/target/linux/s3c24xx/patches/0001-explicitly-link-notes-section.patch.patch new file mode 100755 index 0000000000..fb9ba116f9 --- /dev/null +++ b/target/linux/s3c24xx/patches/0001-explicitly-link-notes-section.patch.patch @@ -0,0 +1,29 @@ +From 0fa9c1c2fe923ca4f36573ca6e6b97e555d0802d Mon Sep 17 00:00:00 2001 +From: mokopatches <mokopatches@openmoko.org> +Date: Wed, 16 Jul 2008 14:44:10 +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 4898bdc..b835564 100644 +--- a/arch/arm/kernel/vmlinux.lds.S ++++ b/arch/arm/kernel/vmlinux.lds.S +@@ -106,6 +106,8 @@ SECTIONS + *(.got) /* Global offset table */ + } + ++ NOTES ++ + RODATA + + _etext = .; /* End of text and rodata section */ +-- +1.5.6.3 + |