Return to __testandset.S CVS log | Up to [DVB] / dietlibc / x86_64 |
various TLS and pthread fixes (Christian Seiler)
#include "dietwarning.h" .text .global __testandset #ifdef __PIE__ .hidden __testandset #endif .type __testandset,@function __testandset: xorl %eax,%eax incl %eax xchg %eax,(%rdi) ret