lkml.org 
[lkml]   [2013]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm64: extable: sort the exception table at build time
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


\
 
 \ /
  Last update: 2013-05-20 12:21    [W:0.052 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site