Messages in this thread Patch in this message | | | Date | Fri, 7 Apr 2006 16:43:50 +0100 | From | Russell King <> | Subject | Re: add new code section for kernel code |
| |
On Fri, Apr 07, 2006 at 05:14:24PM +0200, Arjan van de Ven wrote: > On Fri, 2006-04-07 at 14:02 +0300, saeed bishara wrote: > > I noticed the arch/arm/boot/compressed/ files compiled with > > ffunction-sections switch, so I added the -fno-function-sections to > > the EXTRA_CFLAGS of the compressed/Makefile. And this solved the > > problem. > > can you send a patch for this to Russell ?
I'd prefer not to paper over such bugs. Maybe the following patch will fix the decompressor for saeed?
diff --git a/arch/arm/boot/compressed/vmlinux.lds.in b/arch/arm/boot/compressed/vmlinux.lds.in --- a/arch/arm/boot/compressed/vmlinux.lds.in +++ b/arch/arm/boot/compressed/vmlinux.lds.in @@ -18,6 +18,7 @@ SECTIONS _start = .; *(.start) *(.text) + *(.text.*) *(.fixup) *(.gnu.warning) *(.rodata)
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |