aboutsummaryrefslogtreecommitdiff
path: root/nptl
AgeCommit message (Collapse)AuthorFilesLines
2012-05-03Fix minor fallout from yesterdays sparc nptl changes.David S. Miller5-4/+15
nptl/ * sysdeps/sparc/sparc64/pthread_spin_unlock.S: Fix thinko, we always have to return 0, especially for the pthread_spin_init alias. * sysdeps/sparc/sparc32/pthread_spin_lock.S: Add missing trailing newline. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise. * sysdeps/sparc/sparc64/pthread_spin_lock.S: Likewise.
2012-05-02Mirror i386 change on sparc: 'Avoid "anonymous" code in pthread_spin_lock'David S. Miller15-139/+104
nptl/ * sysdeps/sparc/sparc64/pthread_spin_lock.S: New. * sysdeps/sparc/sparc64/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_unlock.S: New. * sysdeps/sparc/sparc64/pthread_spin_unlock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc64/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_init.c: New. * sysdeps/sparc/sparc32/pthread_spin_lock.S: New. * sysdeps/sparc/sparc32/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc32/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc32/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: New.
2012-05-02Fix test-suite failues with -Wl,--as-neededAllan McRae2-1/+7
Signed-off-by: Allan McRae <allan@archlinux.org>
2012-05-02Kill trailing whitespace.Paul Pluzhnikov1-1/+1
2012-05-02Avoid "anonymous" code in pthread_spin_lock.Paul Pluzhnikov4-33/+64
2012-04-28Don't run tests when cross-compilingAndreas Schwab2-0/+9
2012-04-26move libgcc_s soname definition to shlib-versionsSiddhesh Poyarekar2-2/+7
2012-04-20Delete unused TLS_GET_FS, TLS_SET_FS macros.Paul Pluzhnikov2-8/+5
2012-03-27Fix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.David S. Miller3-4/+22
* tst-cond16.c (do_test): Use a thread stack size which is either PTHREAD_STACK_MIN or the page size, whichever is larger. * tst-cond18.c (do_test): Likewise.
2012-03-19Use __asm__("rsp") to get CURRENT_STACK_FRAMEH.J. Lu2-1/+6
2012-03-19Use __NR_futex to define SYS_futexH.J. Lu2-1/+6
2012-03-19Cast _Unwind_GetCFA return to _Unwind_Ptr firstH.J. Lu2-1/+6
2012-03-16Fix libc-lowlevellock.c sysdep finding more generically.David S. Miller3-2/+9
nptl/ [BZ #13844] * sysdeps/unix/sysv/linux/libc-lowlevellock.c: Include using <..> instead of "...". * sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c: Delete, not needed.
2012-03-15Add missing sparc32 NPTL file otherwise we use the wrong lowlevellock.c ↵David S. Miller2-0/+6
implementation. nptl/ [BZ #13844] * sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c: New file.
2012-03-10Replace FSF snail mail address with URL in miscellaneous files.Paul Eggert2-3/+7
2012-03-09Make pthread.h define all symbols from time.h.Joseph Myers2-4/+5
See: http://www.pasc.org/interps/unofficial/db/p1003.1c/pasc-1003.1c-46.html http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-86.html https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=17302 (Geoff Clare, austin-group-l, 9 Mar 2012)
2012-03-08Update copyright year after my most recent changes.David S. Miller2-1/+5
nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year. / * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update copyright year. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2012-03-08Work around kernel rejecting valid absolute timestamps.Thomas Schwinge2-2/+11
2012-03-08Invalid timeouts in SH sem_timedwait.Thomas Schwinge2-4/+8
We adjusted nwaiters even though this isn't necessary.
2012-03-08Fix 9554ebf2d4da22591e974d3cf2ed09a2b8dbdbd8.Thomas Schwinge3-5/+33
| Invalid timeouts in i386 sem_timedwait. | | We adjusted nwaiters even though this isn't necessary.
2012-03-07Weaken two NPTL configure link tests to compile tests.Joseph Myers3-29/+28
2012-03-07Remove distribute variable from MakefilesUlrich Drepper2-2/+4
2012-03-07Get rid of superfluous assignments in sem_timedwaitThomas Schwinge4-6/+12
2012-03-07Fix CLUlrich Drepper1-2/+2
2012-03-06Better CLUlrich Drepper1-2/+2
2012-03-06Remove private information from libc-lock.hUlrich Drepper3-400/+448
2012-03-06Fix several build warnings on sparc.David S. Miller2-4/+11
/ * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (set_obp_int): New function. (get_obp_int): New function. (__get_clockfreq_via_dev_openprom): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid unused variable warnings on 'val' and use builtin_expect. (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect. (INLINE_CLONE_SYSCALL): Likewise. nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use atomic_increment and remove unused local variable. (__old_sem_post): Likewise.
2012-02-27Fix stray references to __pthread_attrDavid S. Miller7-6/+16
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Don't refer to non-existing __pthread_attr. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
2012-02-26Fix name mangling of pthread_attr_t after changeUlrich Drepper6-6/+6
2012-02-26Add first fixes for conformtest for POSIX2008Ulrich Drepper2-0/+5
2012-02-26Work around problem of pthread_attr_t definition with old compilersUlrich Drepper6-12/+36
2012-02-26Fix up POSIX testing in conformtestUlrich Drepper8-19/+26
2012-02-21Remove old initfini mechanism.Joseph Myers3-172/+19
2012-02-16s390: Convert to crt[in].S.Richard Henderson3-274/+5
2012-02-16Add SH target specific crti.S and crtn.S and remove initfini files.Kaz Kojima2-125/+4
Add sysdeps/sh/crti.S, sysdeps/sh/crtn.S and remove sysdeps/sh/elf/initfini.c and nptl/sysdeps/unix/sysv/linux/sh/pt-initfini.c.
2012-02-16Move sparc away from the deprecated inifini.c scheme.David S. Miller2-0/+9
/ * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S * sysdeps/sparc/crti.S: New file. * sysdeps/sparc/crtn.S: New file. * sysdeps/sparc/sparc32/Makefile: Remove initfini handling. * sysdeps/sparc/sparc64/Makefile: Likewise. nptl/ * sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S
2012-02-15Remove unused Makefile.Marek Polacek2-4/+4
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert637-1909/+1276
2012-02-08Add missing dependency for pt-crti.oAndreas Schwab2-0/+6
2012-02-08Support crti.S and crtn.S provided directly by architectures.Joseph Myers4-3/+79
2012-02-03Consistently use macros for x86 PIC thunks.Joseph Myers7-61/+25
2012-01-11Fix warnings due to return in void functionsUlrich Drepper2-6/+21
2012-01-10Add const attribute to pthread_equalUlrich Drepper2-1/+4
2012-01-10Consistently added return to pthread_exitUlrich Drepper3-3/+8
2012-01-08CLAdhemerval Zanella1-0/+6
2012-01-08Use __pthread_get_minstack for AIO helper threadAdhemerval Zanella1-2/+2
2012-01-08Quash implicit declaration warningMarek Polacek2-0/+5
2012-01-08Static linking is always neededUlrich Drepper1-2/+1
2012-01-07Remove pre-ISO C supportUlrich Drepper6-65/+70
No more __const.
2012-01-07Remove non-ELF supportUlrich Drepper2-2/+4