Mercurial > hg > aboriginal
view sources/patches/uClibc-pthread_once.patch @ 1724:046fda3bc808 draft
Patch from David Halls to fix uClibc build with NPTL on x86. (Which apparently doesn't work in uClibc's last-ever release from 2012.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 24 Jan 2015 18:06:56 -0600 |
parents | |
children |
line wrap: on
line source
diff -u a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S --- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S @@ -23,6 +23,7 @@ #include <lowlevellock.h> + .hidden __fork_generation .comm __fork_generation, 4, 4 .text