lkml.org 
[lkml]   [2020]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86/entry/32: Remove leftover macros after stackprotector cleanups
On Mon, Oct 05, 2020 at 12:30:04PM -0700, Andy Lutomirski wrote:
> .macro SAVE_ALL pt_regs_ax=%eax switch_stacks=0 skip_gs=0 unwind_espfix=0
> cld
> .if \skip_gs == 0
> - PUSH_GS
> + pushl $0
> .endif
> pushl %fs
>

Is there a good reason not to just push gs into it? It might be nice if
pt_regs is complete.

\
 
 \ /
  Last update: 2020-10-06 10:35    [W:0.071 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site