From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: extable: sort the exception table at build time
Date: Mon, 20 May 2013 10:49:50 +0100 [thread overview]
Message-ID: <20130520094950.GG31359@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <20130517184950.GA22304@merkur.ravnborg.org>
On Fri, May 17, 2013 at 07:49:50PM +0100, Sam Ravnborg wrote:
> On Fri, May 17, 2013 at 05:43:41PM +0100, Will Deacon wrote:
> > + . = ALIGN(8);
> > + __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
> > + __start___ex_table = .;
> > + *(__ex_table)
> > + __stop___ex_table = .;
> > + }
>
> Here you could use:
> EXCEPTION_TABLE(align)
>
> (From include/asm-generic/vmlinux.lds.h)
Good spot, I'll spin a v2 using that. Looks like we don't use that for
arch/arm/ because we want to discard the section ifdef CONFIG_MMU. Maybe we
could change the generic macro to expand to nothing if !MMU, but I'm not
sure if other MMU-less architectures are playing tricks with this.
Will
prev parent reply other threads:[~2013-05-20 9:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-17 16:43 [PATCH] arm64: extable: sort the exception table at build time Will Deacon
2013-05-17 18:33 ` David Daney
2013-05-20 9:46 ` Will Deacon
2013-05-17 18:49 ` Sam Ravnborg
2013-05-20 9:49 ` Will Deacon [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=20130520094950.GG31359@mudshark.cambridge.arm.com \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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