changeset 1724:046fda3bc808

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 b134528a9b50
children c0c2e67782be
files sources/patches/uClibc-pthread_once.patch
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/uClibc-pthread_once.patch	Sat Jan 24 18:06:56 2015 -0600
@@ -0,0 +1,11 @@
+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