You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
917 B
30 lines
917 B
16 years ago
|
From bc6ec8d17f2f4dcb70bc1a80ea0630eeb5372406 Mon Sep 17 00:00:00 2001
|
||
16 years ago
|
From: mokopatches <mokopatches@openmoko.org>
|
||
16 years ago
|
Date: Fri, 4 Apr 2008 11:29:03 +0100
|
||
16 years ago
|
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
|
||
16 years ago
|
index 5ff5406..e2922fc 100644
|
||
16 years ago
|
--- a/arch/arm/kernel/vmlinux.lds.S
|
||
|
+++ b/arch/arm/kernel/vmlinux.lds.S
|
||
16 years ago
|
@@ -105,6 +105,8 @@ SECTIONS
|
||
16 years ago
|
*(.got) /* Global offset table */
|
||
|
}
|
||
|
|
||
|
+ NOTES
|
||
|
+
|
||
|
RODATA
|
||
|
|
||
|
_etext = .; /* End of text and rodata section */
|
||
|
--
|
||
16 years ago
|
1.5.6.5
|
||
16 years ago
|
|