mailing list of musl libc
 help / color / mirror / code / Atom feed
299845a6855fe41bf030bd4206dbdff485b9ae53 blob 426 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */
.include "ibt.s"

.text
.global __set_thread_area
.hidden __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
	ENDBRANCH64
	mov %rdi,%rsi           /* shift for syscall */
	movl $0x1002,%edi       /* SET_FS register */
	movl $158,%eax          /* set fs segment to */
	syscall                 /* arch_prctl(SET_FS, arg)*/
	ret
debug log:

solving 299845a6 ...
found 299845a6 in https://inbox.vuxu.org/musl/20201019224342.53303-4-joao.moreira@intel.com/
found 7347ff4d in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 7347ff4dc1e12cc41815a19faa5e532d8fe53184	src/thread/x86_64/__set_thread_area.s

applying [1/1] https://inbox.vuxu.org/musl/20201019224342.53303-4-joao.moreira@intel.com/
diff --git a/src/thread/x86_64/__set_thread_area.s b/src/thread/x86_64/__set_thread_area.s
index 7347ff4d..299845a6 100644

Checking patch src/thread/x86_64/__set_thread_area.s...
Applied patch src/thread/x86_64/__set_thread_area.s cleanly.

index at:
100644 299845a6855fe41bf030bd4206dbdff485b9ae53	src/thread/x86_64/__set_thread_area.s

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).