lkml.org 
[lkml]   [2017]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] chacha20-ssse3/avx2: satisfy stack validation 2.0
On Sun, Oct 08, 2017 at 10:50:53PM +0200, Jason A. Donenfeld wrote:
> The new stack validator in objdump doesn't like directly assigning r11
> to rsp, warning with something like:
>
> warning: objtool: chacha20_4block_xor_ssse3()+0xa: unsupported stack pointer realignment
> warning: objtool: chacha20_8block_xor_avx2()+0x6: unsupported stack pointer realignment
>
> This fixes things up to use code similar to gcc's DRAP register, so that
> objdump remains happy.
>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
> Fixes: baa41469a7b9 ("objtool: Implement stack validation 2.0")

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2017-10-12 17:17    [W:0.036 / U:1.788 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site