[ar71xx] remove duplicated includes
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1001-explicitly-link-notes-section.patch.patch
1 From bc6ec8d17f2f4dcb70bc1a80ea0630eeb5372406 Mon Sep 17 00:00:00 2001
2 From: mokopatches <mokopatches@openmoko.org>
3 Date: Fri, 4 Apr 2008 11:29:03 +0100
4 Subject: [PATCH] explicitly-link-notes-section.patch
5
6 Since 2.6.23 kbuild produces a 3GB arch/arm/boot/Image because it includes a
7 .note.gnu.build-id section at address 0 which is followed by 3GB of 0x00.
8 The --build-id option is set in the toplevel Makefile.
9 This patch explicitly puts the notes section after the TEXT section.
10 ---
11 arch/arm/kernel/vmlinux.lds.S | 2 ++
12 1 files changed, 2 insertions(+), 0 deletions(-)
13
14 diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
15 index 5ff5406..e2922fc 100644
16 --- a/arch/arm/kernel/vmlinux.lds.S
17 +++ b/arch/arm/kernel/vmlinux.lds.S
18 @@ -105,6 +105,8 @@ SECTIONS
19 *(.got) /* Global offset table */
20 }
21
22 + NOTES
23 +
24 RODATA
25
26 _etext = .; /* End of text and rodata section */
27 --
28 1.5.6.5
29
This page took 0.051141 seconds and 5 git commands to generate.