about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* unify xmalloc prototypes & friendsMike Frysinger2013-02-181-7/+1
| | | | | | | | These prototypes are duplicated in many places. Add a dedicated header for holding prototypes for program-specific functions to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* C++11 thread_local destructors supportSiddhesh Poyarekar2013-02-1810-0/+30
| | | | | | | | | | | This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.
* New function _dl_find_dso_for_objectSiddhesh Poyarekar2013-02-181-0/+4
| | | | Consolidate code to search for an address within a DSO.
* FUTEX_*_REQUEUE_PI support for non-x86 codeSiddhesh Poyarekar2013-02-181-0/+5
| | | | | Add FUTEX_*_REQUEUE_PI support for the default C code and also add implementations for s-390 and ppc.
* S/390: Fix _dl_runtime_profileAndreas Krebbel2013-02-181-32/+38
|
* Remove bounded-pointers handling from x86_64 assembly sources.Joseph Myers2013-02-1717-197/+32
|
* Don't require LIM to determine loop end in __sqrSiddhesh Poyarekar2013-02-161-10/+4
|
* Use intermediate variable to compute exponent in __mulSiddhesh Poyarekar2013-02-161-4/+15
|
* Fix determination of lower precision in __mulSiddhesh Poyarekar2013-02-151-1/+4
|
* Remove bounded-pointers build system support.Joseph Myers2013-02-153-5/+0
|
* Remove miscellaneous bounded-pointers relics in C code.Joseph Myers2013-02-153-11/+2
|
* Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers2013-02-1412-43/+29
|
* Remove redundant return keywordSiddhesh Poyarekar2013-02-142-26/+0
|
* Use __sqr instead of __mul wherever possibleSiddhesh Poyarekar2013-02-143-4/+4
|
* New __sqr function as a faster special case of __mulSiddhesh Poyarekar2013-02-147-2/+296
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-1336-101/+81
|
* Remove unnecessary factorial arraySiddhesh Poyarekar2013-02-131-10/+3
| | | | kf is n! at the end of the loop, so storing the values is unnecessary.
* Better exp polynomialSiddhesh Poyarekar2013-02-131-23/+37
| | | | The lesser the __mul calls, the better it is for performance.
* Optimized mp multiplicationSiddhesh Poyarekar2013-02-131-8/+48
| | | | Don't bother multiplying zeroes since that only wastes cycles.
* Clean up add_magnitudes and sub_magnitudesSiddhesh Poyarekar2013-02-131-52/+60
|
* Remove CHECK_N and bp-checks.h.Joseph Myers2013-02-0830-141/+44
|
* ARM: Support loading unmarked objects from cache.Carlos O'Donell2013-02-081-0/+1
| | | | | | | | | | | | ARM now supports loading unmarked objects from the dynamic loader cache. Unmarked objects can be used with the hard-float or soft-float ABI. We must support loading unmarked objects during the transition period from a binutils that does not mark objects to one that does mark them with the correct ELF flags. Signed-off-by: Carlos O'Donell <carlos@redhat.com>
* Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers2013-02-0832-159/+42
|
* Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.Joseph Myers2013-02-081-12/+0
|
* Remove lots of inline keywords.Roland McGrath2013-02-074-6/+7
|
* Move nss directory into sysdeps Subdirs.Roland McGrath2013-02-051-0/+1
|
* Add missing includes to sysdeps/generic/malloc-sysdep.h.Roland McGrath2013-02-051-0/+3
|
* Add long-double sparc ULPs updates missing in previous commit.David S. Miller2013-02-041-0/+36
|
* Update sparc ULPs after Joseph's casin fixes.David S. Miller2013-02-041-0/+126
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers2013-02-0426-109/+35
|
* Remove BOUNDED_N and BOUNDED_1.Joseph Myers2013-02-015-21/+3
|
* Remove bp-start.h and INIT_ARGV_and_ENVIRON.Joseph Myers2013-02-012-72/+0
|
* Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.Joseph Myers2013-01-311-27/+0
|
* Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers2013-01-3111-30/+11
|
* Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers2013-01-315-88/+10
|
* Remove bp-thunks code.Joseph Myers2013-01-315-202/+0
|
* Fix casinh spurious underflows away from [-i,i] (bug 15062).Joseph Myers2013-01-312-0/+366
|
* Add a minor 'cas' atomic optimization on sparc.David S. Miller2013-01-232-12/+30
| | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__arch_compare_and_exchange_val_32_acq): Use %g0 as second argument of CAS if possible. * sysdeps/sparc/sparc64/bits/atomic.h (__arch_compare_and_exchange_val_32_acq): Likewise. (__arch_compare_and_exchange_val_64_acq): Likewise.
* ulimit: remove buggy bsd implementationPino Toscano2013-01-231-91/+0
| | | | | | | | | The bsd implementation of ulimit produces wrong return values, so remove it in favour of the posix implementation. The only regression for non-Linux implementations using bsd sysdeps and not providing an own ulimit is that the __UL_GETMAXBRK case (which is non-standard) is left unimplemented (giving EINVAL).
* ulimit: include <limits.h>Pino Toscano2013-01-231-0/+1
|
* ulimit: move linux implementation as posixPino Toscano2013-01-231-0/+0
| | | | | The linux implementation of ulimit works correctly and has nothing specific to Linux, so move it as general posix implementation.
* S/390: Fix setjmp/longjmp FPR save/restoreAndreas Krebbel2013-01-233-9/+17
|
* Make bits/wchar.h correct for all architectures (bug 15036).Joseph Myers2013-01-231-32/+0
|
* Use libgcc unwinder for sparc backtraces, if available.David S. Miller2013-01-216-57/+188
| | | | | | | | | | * sysdeps/sparc/backtrace.c: New file. * sysdeps/sparc/sparc32/backtrace.h: New file. * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file. * sysdeps/sparc/sparc64/backtrace.h: New file. * sysdeps/sparc/sparc64/backtrace.c: Delete. * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add -funwind-tables.
* Remove use of mpa2.hAndreas Schwab2013-01-202-2/+0
|
* PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.Anton Blanchard2013-01-184-29/+33
| | | | | | | | | | In order for the __kernel_get_tbfreq vDSO call to work the INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from assuming an integer return type (since the timebase frequency is a 64-bit value) by specifying the type of the return type as a macro parameter. The macro then specifically declares the return value as a 'register' (or implied pair) of the denoted type. The compiler is then informed that this register (or implied pair) is to be used for the return value.
* Fix application of the exception maskSiddhesh Poyarekar2013-01-181-1/+1
| | | | Fixes BZ #14496.
* Simplify calculation of 2^-m in __mpexpSiddhesh Poyarekar2013-01-182-29/+34
|
* Remove unnecessary multiplication with RADIXISiddhesh Poyarekar2013-01-181-3/+3
|
* Update sparc ULPs.David S. Miller2013-01-171-0/+74
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.