this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

OSAtomic() should now work, always calls MP variant

+1 -1
+1 -1
libc/x86_64/sys/atomic.c
··· 41 41 } 42 42 43 43 #else // ELF doesn't support symbol resolvers 44 - #define RESOLVER_UP_MP(symbol) __weak_reference(symbol ## $VARIANT$mp, symbol); 44 + #define RESOLVER_UP_MP(symbol) __asm__(".globl " #symbol); __asm__(#symbol ": jmp " #symbol "$VARIANT$mp@PLT"); 45 45 #endif 46 46 47 47 RESOLVER_UP_MP(OSAtomicAnd32)