diff options
author | mokopatches <mokopatches@openmoko.org> | 2008-11-19 17:03:09 +0000 |
---|---|---|
committer | warmcat <andy@warmcat.com> | 2008-11-19 17:03:09 +0000 |
commit | 04c8cf939d95c88f5fce5d69fba6a3da62f9e255 (patch) | |
tree | ffe5ad50369eadaf2e4930fac7cc6add9dfb845e /arch/arm/kernel | |
parent | 55a4edad38edf2bad2658b8580401fabb5cfdcc2 (diff) |
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.
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | 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 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 */ |