• J
    [PATCH] uml skas0: stop gcc's insanity · 5b7b15af
    Jeff Dike 提交于
    With Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    
    UML skas0 stub has been miscompiling for many people (incidentally not
    the authors), depending on the used GCC versions.
    
    I think (and testing on some GCC versions shows) this patch avoids the
    fundamental issue which is behind this, namely gcc using the stack when
    we have just replaced it, behind gcc's back.  The remapping and storage
    of the return value is hidden in a blob of asm, hopefully giving gcc no
    room for creativity.
    Signed-off-by: NPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    5b7b15af
stub.h 2.3 KB