summaryrefslogtreecommitdiff
path: root/libc/misc/internals/shared_flat_initfini.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-08-06 13:31:35 +0300
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-08-17 19:03:34 +0200
commitc33b304eefddf75509dc40b5cf6ddda4b40ee37f (patch)
tree3ccb7a025d19532ea7bd8b8808f9da878770174c /libc/misc/internals/shared_flat_initfini.c
parentace0878b0b708e1b04e9e7a62f26c1dc3b9295b5 (diff)
nptl: fix calling convention for __pthread_mutex_cond_lock
The assembly versions of pthread_cond_wait calls __pthread_mutex_cond_lock and __pthread_mutex_cond_lock_adjust using internal calling convention (which differs from default calling convention at least on x86). Thus these two functions must be defined with internal_function or the call sequence goes wrong. __pthread_mutex_cond_lock resides in sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c, but it does evil macro definitions and includes pthread_mutex_lock.c, so we need to add some extra kludge to pthread_mutex_lock.c to get the prototypes correctly. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/internals/shared_flat_initfini.c')
0 files changed, 0 insertions, 0 deletions