From 04c8cf939d95c88f5fce5d69fba6a3da62f9e255 Mon Sep 17 00:00:00 2001 From: mokopatches Date: Wed, 19 Nov 2008 17:03:09 +0000 Subject: 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 file changed, 2 insertions(+) (limited to 'arch') diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 4898bdcfe7d..b835564fb2c 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 */ -- cgit v1.2.3