From: Benjamin Herrenschmidt <benh@kernel•crashing.org>
To: Andreas Schwab <schwab@linux-m68k•org>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: [PATCH] powerpc: fix segment mapping in vdso32
Date: Sat, 03 Oct 2009 21:22:09 +1000 [thread overview]
Message-ID: <1254568929.7122.22.camel@pasglop> (raw)
In-Reply-To: <m2bpkoomlw.fsf@whitebox.home>
On Sat, 2009-10-03 at 11:25 +0200, Andreas Schwab wrote:
> Due to missing segment assignments the .text section was put in the NOTES
> segment (and marked as NOTE section), and the .got was put in the DYNAMIC
> segment.
Ouch, good catch ! Thanks.
Cheers,
Ben.
> Signed-off-by: Andreas Schwab <schwab@linux-m68k•org>
> ---
> arch/powerpc/kernel/vdso32/vdso32.lds.S | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/kernel/vdso32/vdso32.lds.S b/arch/powerpc/kernel/vdso32/vdso32.lds.S
> index 904ef13..0546bcd 100644
> --- a/arch/powerpc/kernel/vdso32/vdso32.lds.S
> +++ b/arch/powerpc/kernel/vdso32/vdso32.lds.S
> @@ -25,7 +25,7 @@ SECTIONS
> . = ALIGN(16);
> .text : {
> *(.text .stub .text.* .gnu.linkonce.t.* __ftr_alt_*)
> - }
> + } :text
> PROVIDE(__etext = .);
> PROVIDE(_etext = .);
> PROVIDE(etext = .);
> @@ -56,7 +56,7 @@ SECTIONS
> .fixup : { *(.fixup) }
>
> .dynamic : { *(.dynamic) } :text :dynamic
> - .got : { *(.got) }
> + .got : { *(.got) } :text
> .plt : { *(.plt) }
>
> _end = .;
> --
> 1.6.4.4
>
prev parent reply other threads:[~2009-10-03 11:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-03 9:25 [PATCH] powerpc: fix segment mapping in vdso32 Andreas Schwab
2009-10-03 11:22 ` Benjamin Herrenschmidt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1254568929.7122.22.camel@pasglop \
--to=benh@kernel$(echo .)crashing.org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=schwab@linux-m68k$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox