lkml.org 
[lkml]   [2008]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pop previous section in alternative.c
On Thu, Apr 10, 2008 at 07:46:25AM -0700, Linus Torvalds wrote:
>
>
> On Thu, 10 Apr 2008, Andi Kleen wrote:
> >
> > So in summary valid section patterns are either
> > .section / .previous or .pushsection .section .popsection
>
> The thing is, we'd be much better off with some sanity checking in the
> assembler.
>
> Which is likely not going to happen - oh well.

A simple way to detect it on the assembler level would be checking
that the section is the same after #NO_APP as before #APP

-Andi


\
 
 \ /
  Last update: 2008-04-10 17:05    [W:0.117 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site