summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2015-01-01Suppress warning (-Wint-to-pointer-cast)HEADmasterIgor Pashev1-1/+1
2014-09-07Cast to intptr_t to fix compiler warningIgor Pashev1-1/+1
2014-09-07Fixed autofssys definitionIgor Pashev1-1/+1
2014-09-07Disabled nscd for prof_attr and user_attrIgor Pashev2-0/+4
nscd is to be patched
2014-09-07Implemented __door_returnIgor Pashev2-23/+33
Need to test :-)
2014-09-01Copied from i386 (needs porting of course)Igor Pashev1-0/+77
2014-09-01Forget about B_FALSE/B_TRUEIgor Pashev1-8/+0
2014-09-01Added missed include bits/libc-lock.hIgor Pashev1-0/+1
For __libc_lock_* macros
2014-09-01Updated refs in commentIgor Pashev1-4/+2
2014-09-01Welcome mount(2)!Igor Pashev1-0/+2
mount syscall takes 8 arguments
2014-09-01Fixed wrong filenameIgor Pashev1-1/+1
This fixes error: make[2]: *** No rule to make target `build/misc/sys_sysi86.o', needed by `glibc/build/misc/stamp.o'. Stop.
2014-08-31Let's see how syscall and __systemcall will workIgor Pashev1-21/+35
2014-08-31Fixed commentsIgor Pashev1-2/+2
2014-08-31Don't include removed stub-tag.hIgor Pashev1-1/+0
Related to b830319d49a421741b61ae29ce32ab37f8b970ed
2014-08-31Don't include bp-check.h and don't use CHECK_1Igor Pashev11-20/+9
Related to a2da1673fe32540799c801e8aec374dc1c0e0596 and f3aae3f3eb4e4345413dc238e941cdb52f747d16
2014-08-31Fixed include path for BSD wait3.cIgor Pashev1-1/+1
Related to ef7344f09c5ce00eb519ed14598b2a8e39c68387
2014-08-31Fixed possible roundup and howmany macros collisionIgor Pashev1-2/+7
2014-08-31Don't use bp-sym.h and bp-asm.h (removed)Igor Pashev2-4/+0
Related to 2d67d91ac08aa2f793d220ad8712541fefa0ba79
2014-08-30Merge branch 'release/2.19/master' of git://sourceware.org/git/glibcIgor Pashev3840-48194/+162131
Conflicts: configure.in include/features.h io/ftw.c malloc/arena.c malloc/malloc.c malloc/mtrace.c nptl/allocatestack.c nptl/nptl-init.c nptl/pthread_attr_init.c nptl/pthread_create.c nptl/pthread_detach.c nptl/pthread_getschedparam.c nptl/pthread_setschedparam.c nptl/pthread_setschedprio.c nptl/pthread_timedjoin.c nptl/pthread_tryjoin.c nptl/sysdeps/unix/sysv/linux/fork.h nptl/sysdeps/unix/sysv/linux/register-atfork.c nptl/sysdeps/unix/sysv/linux/unregister-atfork.c nptl/sysdeps/x86_64/tls.h nscd/Makefile sysdeps/unix/inet/syscalls.list sysdeps/unix/opendir.c sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2014-05-17Fix sparc memcpy data corruption when using niagara2 optimized routines.Jose E. Marchesi1-0/+1
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing membar to avoid block loads/stores to overlap previous stores.
2014-05-16SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)Aurelien Jarno1-0/+27
prlimit and prlimit64 have been added in the main <bits/resource.h>, but not in the SPARC specific version. Fix that. Note: this is Debian bug#703559, reported by Emilio Pozuelo Monfort <pochu@debian.org> (cherry picked from commit d16e6ec7ca2c861ba681e3a2fbd431725774292e)
2014-05-07SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)Aurelien Jarno1-0/+2
EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in the SPARC specific version. Fix that. (cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c)
2014-05-01Fix v9/64-bit strcmp when string ends in multiple zero bytes.David S. Miller1-0/+31
[BZ #16885] * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when multiple zero bytes exist at the end of a string. Reported by Aurelien Jarno <aurelien@aurel32.net> * string/test-strcmp.c (check): Add explicit test for situations where there are multiple zero bytes after the first.
2014-02-27Fix sign of input to bsloww1 (BZ #16623)Siddhesh Poyarekar1-6/+10
In 84ba214c, I removed some redundant sign computations and in the process, I incorrectly got rid of a temporary variable, thus passing the absolute value of the input to bsloww1. This caused #16623. This fix undoes the incorrect change.
2014-02-20Update x86_64 libm-test-ulps on AMD family 21h model 1 (bug 16545).Dylan Alex Simon1-16/+63
(cherry picked from commit fbfdf9cb039486f66994637081862c01bbd6a765) Conflicts: NEWS
2014-02-06Revert "Patch [1/4] async-signal safe TLS."Allan McRae4-62/+0
This reverts commit 69a17d9d245dc3551792e95e1823cc2d877592f3.
2014-02-06Revert "Patch 3/4 of the effort to make TLS access async-signal-safe."Allan McRae1-5/+0
This reverts commit 35e8f7ab94c910659de9d507aa0f3e1f8973d914.
2014-02-06Revert "Patch 2/4 of the effort to make TLS access async-signal-safe."Allan McRae1-6/+0
This reverts commit 1f33d36a8a9e78c81bed59b47f260723f56bb7e6. Conflicts: elf/dl-misc.c Also reverts the follow commits that were bug fixes to new code introduced in the above commit: 063b2acbce83549df82ab30f5af573f1b9c4bd19 b627fdd58554bc36bd344dc40a8787c4b7a9cc46 e81c64bba13d2d8b2a4e53254a82cc80f27c8497
2014-02-05Fix comment in kernel-features.h.Carlos O'Donell1-1/+1
Use "was" not "were."
2014-02-05Fix tst-setgetname for Linux kernels < 2.6.33.Carlos O'Donell1-0/+6
Support for /proc/self/task/$tid/comm as added in Linux 2.6.33, therefore since the test tst-setgetname relies on this functionality to operate we must skip the test in kernels < 2.6.33. We wrap the checks with __ASSUME_PROC_PID_TASK_COMM such that in the future when we move arch_minimum_kernel to 2.6.33 we can remove this code.
2014-02-04Adjust sparc ULPs.David S. Miller1-0/+5
* sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from 32-bit.
2014-02-04PowerPC: powerpc64le abilist for 2.17Adhemerval Zanella13-0/+3149
This patch is the abifiles for powerpc64le based on GLIBC 2.17.
2014-02-04abilist-pattern configurabilityAdhemerval Zanella1-0/+4
This patch creates implicit rules to match the abifiles if abilist-pattern is defined in the architecture Makefile. This allows machine specific Makefiles to define different abifiles names (for instance *-le.abilist for powerpc64le).
2014-02-04Update x86_64 ULPs (AMD family 21, model 2)Eric Wong1-3/+161
Tested on an AMD FX-8320 CPU
2014-02-04Update x86_64 ULPs (AMD Family 10h)Eric Wong1-2/+611
2014-01-29Disable x87 inline functions for SSE2 mathH.J. Lu1-2/+2
When i386 and x86-64 mathinline.h was merged into a single mathinline.h, "gcc -m32" enables x87 inline functions on x86-64 even when -mfpmath=sse and SSE2 is enabled. It is a regression on x86-64. We should check __SSE2_MATH__ instead of __x86_64__ when disabling x87 inline functions.
2014-01-28Add -mieee to SH sysdep-CFLAGS for older SH compilers.Kaz Kojima1-0/+3
2014-01-27Regenerate SH libm-test-ulps with proper compiler options.Kaz Kojima1-9/+716
2014-01-24Rebuild sparc ULPs.David S. Miller1-1203/+9817
* sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2014-01-25Move SH libm-test-ulps to sysdeps/sh and regenerate it.Kaz Kojima2-1094/+5486
2014-01-24Restore ucontext ABI for soft-float sh4.Kaz Kojima2-99/+1
2014-01-23Adjust SH specific fpu_control.h and ucontext.h files.Kaz Kojima3-103/+31
2014-01-22S/390: Merge 32 and 64 bit ucontext.h.Andreas Krebbel2-98/+6
2014-01-20Include generic symbol-hacks.h for x32H.J. Lu1-1/+1
In BZ #15605 fix with addding memset/memmove alias in symbol-hacks.h, x32 symbol-hacks.h change was missing. Fixed by including <sysdeps/generic/symbol-hacks.h> in x32 symbol-hacks.h.
2014-01-20PowerPC: Fix gettimeofday ifunc selectionAdhemerval Zanella2-4/+10
The IFUNC selector for gettimeofday runs before _libc_vdso_platform_setup where __vdso_gettimeofday is set. The selector then sets __gettimeofday (the internal version used within GLIBC) to use the system call version instead of the vDSO one. This patch changes the check if vDSO is available to get its value directly instead of rely on __vdso_gettimeofday. This patch changes it by getting the vDSO value directly. It fixes BZ#16431.
2014-01-16s390: implement sotruss supportMike Frysinger1-0/+62
See commit 41b1792698a335d3a85381921a84a16e9635f36a for testcase. Note: while this works on s390x, the s390 code hangs when using -e. But it hangs regardless of this code (the hang seems to occur before the exit func is even called). I didn't look too closely at it as it seems to be an issue external to this file, so this code shouldn't make the situation any worse. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-16PowerPC: Fix ftime gettimeofday internal call returning bogus dataAdhemerval Zanella2-4/+36
This patches fixes BZ#16430 by setting a different symbol for internal GLIBC calls that points to ifunc resolvers. For PPC32, if the symbol is defined as hidden (which is the case for gettimeofday and time) the compiler will create local branches (symbol@local) and linker will not create PLT calls (required for IFUNC). This will leads to internal symbol calling the IFUNC resolver instead of the resolved symbol. For PPC64 this behavior does not occur because a call to a function in another translation unit might use a different toc pointer thus requiring a PLT call.
2014-01-15PowerPC: sotruss-lib implementationAdhemerval Zanella1-0/+69
This patch add the missing sotruss-lib interfaces for PowerPC.
2014-01-15Do not enable asynchronous cancellation in system. Fixes bug 14782.Ondřej Bílka1-10/+1
We needlessly enabled thread cancellation before it was necessary. As only call that needs to be guarded is waitpid which is cancellation point we could remove cancellation altogether.
2014-01-15[BZ #16427] Fix ldbl-128 exp overflows.Andreas Krebbel1-13/+5
Invoke the non-IEEE handling only for numbers special also in the IEEE case. This aligns the exp handling with the other ldbl variants.