X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fthread%2Fx86_64%2F__set_thread_area.s;h=f3ff4f61bf321fe2e8a2cde92e02a57b01847ed4;hp=75f19a86d73dc0e2ce8313be449389c589b6e620;hb=c983e6415abdc30893b2fe359a334033c59ec621;hpb=1e4f1cf154d18d2bd13cd4524a8bbae6786efd02 diff --git a/src/thread/x86_64/__set_thread_area.s b/src/thread/x86_64/__set_thread_area.s index 75f19a86..f3ff4f61 100644 --- a/src/thread/x86_64/__set_thread_area.s +++ b/src/thread/x86_64/__set_thread_area.s @@ -1,9 +1,10 @@ -/* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */ +/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */ .text .global __set_thread_area +.type __set_thread_area,@function __set_thread_area: - 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)*/ + 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