[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0902041950530.32142@vinegar-pot.mit.edu>
Date: Wed, 4 Feb 2009 20:11:47 -0500 (EST)
From: Anders Kaseorg <andersk@....EDU>
To: Rusty Russell <rusty@...tcorp.com.au>
cc: Jeff Arnold <jbarnold@....edu>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Denys Vlasenko <vda.linux@...glemail.com>,
Tim Abbott <tabbott@....edu>, Waseem Daher <wdaher@....edu>,
Nikanth Karthikesan <knikanth@...e.de>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 1/7] Make section names compatible with -ffunction-sections
-fdata-sections
On Wed, 4 Feb 2009, Rusty Russell wrote:
> PS. Here's the extra ones I found. Since you only enable sections on x86,
> it's not critical, but nice to cover them all.
It looks like you didn’t base your work on the current copy of the patch
posted to this thread [1]. That copy already includes all but two of your
changes (arch/s390/kernel/vdso.c and arch/sparc/kernel/init_task.c, in
which the lines in question were introduced by recent commits), along with
some others.
[1] <http://lkml.org/lkml/2009/1/4/196>
> --- a/arch/s390/kernel/vdso32/vdso32_wrapper.S
> +++ b/arch/s390/kernel/vdso32/vdso32_wrapper.S
> @@ -1,7 +1,7 @@
> #include <linux/init.h>
> #include <asm/page.h>
>
> - .section ".data.page_aligned"
> + .section ".kernel.data.page_aligned"
>
> .globl vdso32_start, vdso32_end
> .balign PAGE_SIZE
This change is wrong; you need to specify
.section ".kernel.data.page_aligned", "aw"
like we do in [1], or else the assembler will not set the ALLOC flag on
that section, leading to a crash at runtime.
We will send a new copy of the patch that includes your two changes
shortly.
Anders
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists