lkml.org 
[lkml]   [2020]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: WARNING: can't access registers at asm_common_interrupt
    On Wed, Nov 11, 2020 at 08:25:36PM +0000, Andrew Cooper wrote:

    > > Right, it makes objtool's job a _little_ easier, since it already knows
    > > how to read alternatives. But it still has to learn to deal with the
    > > conflicting stack layouts.
    >
    > I suppose the needed abstraction is "these blocks will start and end
    > with the same stack layout", while allowing the internals to diverge.

    It's a little more complicated than that due to the fact that there is
    only a single ORC table.

    So something like:

    alt0 alt1
    0x00 push 0x00 nop
    0x01 nop 0x01 push

    is impossible to correctly unwind.

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