mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
Do not specify the size to move. Allow the assembler to figure it out.
This commit is contained in:
parent
a77751d7ee
commit
7ff3366e73
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60298
@ -59,7 +59,7 @@ static jmp_buf db_global_jmpbuf;
|
||||
static int db_global_jmpbuf_valid;
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define rss() ({u_short ss; __asm __volatile("movl %%ss,%0" : "=r" (ss)); ss;})
|
||||
#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;})
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -59,7 +59,7 @@ static jmp_buf db_global_jmpbuf;
|
||||
static int db_global_jmpbuf_valid;
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define rss() ({u_short ss; __asm __volatile("movl %%ss,%0" : "=r" (ss)); ss;})
|
||||
#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;})
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user