about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant nested function b64_from_24bitKonstantin Serebryany2014-06-036-95/+121
| | | | | Move multiple definitions of the nested function b64_from_24bit into a single function __b64_from_24bit.
* SH: Consolidate NPTL/non versions of vforkRoland McGrath2014-06-025-164/+43
|
* Fix format specifier for n_mmapsSiddhesh Poyarekar2014-06-022-1/+6
|
* [AArch64] Remove ISB after FPCR write.Wilco2014-06-022-5/+7
|
* [AArch64] Rewrite feupdateenv (BZ 17009).Wilco2014-06-023-6/+62
|
* Update Sparc ULPS.David S. Miller2014-06-012-0/+89
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix excessive ULP for y1_upward (0x2p+0) in test-float and test-ifloat.David S. Miller2014-05-312-0/+6
| | | | | * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations to occur in round to nearest mode when |x| >= 2.0
* aarch64: Remove PSEUDO_RETRichard Henderson2014-05-302-20/+9
|
* aarch64: Fix error return from __ioctlRichard Henderson2014-05-302-6/+12
| | | | | Forgotten in ca3cfa40c16ef34c74951a07a57cfcbcd58898b1 where the error branch was moved from PSEUDO_RET.
* Replace __int128 with __int128_tMarko Myllynen2014-05-302-1/+6
| | | | | * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128 with __int128_t.
* Fix formatting in malloc_infoSiddhesh Poyarekar2014-05-302-10/+14
|
* Add mmap usage in malloc_info outputSiddhesh Poyarekar2014-05-302-0/+7
| | | | | | The current malloc_info xml output only has information about allocations on the heap. Display information about number of mappings and total mmapped size to this to complete the picture.
* m68k: Convert fork.c to arch-fork.hRoland McGrath2014-05-302-3/+7
|
* Remove mi_arena nested function.Ondřej Bílka2014-05-302-121/+121
|
* revert commit fdfd175d46ac6a810ebdeb2a2936e6d7d13995abOndřej Bílka2014-05-301-135/+125
|
* aarch64: Rely on syscalls preserving registersRichard Henderson2014-05-292-24/+22
| | | | | | | | In several cases we've had asm routines rely on syscalls not clobbering call-clobbered registers, and that's now deemed ABI. So take advantage of this in the INLINE_SYSCALL path as well. Shrinks libc.so by about 1k.
* aarch64: Use tpidr_el0 rather than __errno_location in librtRichard Henderson2014-05-293-16/+12
|
* aarch64: Use tpidr_el0 rather than __read_tp in librtRichard Henderson2014-05-292-11/+7
|
* aarch64: Improve syscall-cancel stack frameRichard Henderson2014-05-292-86/+36
| | | | One push instead of N; use stp/ldp to halve the insns.
* aarch64: Pass regno parameter to SINGLE_THREAD_PRichard Henderson2014-05-292-10/+12
| | | | Use cbz instead of cmp+b.eq.
* aarch64: Share code in syscall-cancel.hRichard Henderson2014-05-292-14/+19
| | | | Fold nocancel and error handling paths.
* aarch64: Tabify sysdep-cancel.hRichard Henderson2014-05-292-51/+56
|
* Avoid stat/fstat in statvfs/fstatvfs (BZ #15132)Eric Wong2014-05-297-37/+44
| | | | | Delay the use of stat/fstat until stat data is required. When the kernel returns ST_VALID, stat data is not used by __internal_statvfs.
* SH: Consolidate NPTL/non versions of cloneRoland McGrath2014-05-283-15/+5
|
* tile: Convert fork.c to arch-fork.hRoland McGrath2014-05-282-4/+7
|
* IA64: Convert fork.c to arch-fork.hRoland McGrath2014-05-272-0/+31
|
* SH: Convert fork.c to arch-fork.hRoland McGrath2014-05-272-3/+7
|
* Remove duplicate code in elf/dl-deps.c.Ondřej Bílka2014-05-272-31/+23
|
* Remove second argument from TLS_INIT_TP macroAndreas Schwab2014-05-2721-77/+74
|
* ARM: Fix handling of concurrent TLS descriptor resolutionWill Newton2014-05-273-20/+19
| | | | | | | | | | | | | | | | | | | | The current code for handling concurrent resolution says that the ABI for _dl_tlsdesc_resolve_hold is the same as that of _dl_tlsdesc_lazy_resolver. However _dl_tlsdesc_resolve_hold is called from the trampoline directly rather than the lazy resolver stub so, for example, r2 has not been pushed so does not needed to be restored. This fixes an intermittent failure in nptl/tst-tls3 when building glibc for arm-linux-gnueabihf with -mtls-dialect=gnu2. ChangeLog: 2014-05-27 Will Newton <will.newton@linaro.org> [BZ #16990] * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore r2 rather than just restoring.
* Fix offset computation for append+ mode on switching from read (BZ #16724)Siddhesh Poyarekar2014-05-276-10/+207
| | | | | | | | | | | | | | | | | The offset computation in write mode uses the fact that _IO_read_end is kept in sync with the external file offset. This however is not true when O_APPEND is in effect since switching to write mode ought to send the external file offset to the end of file without making the necessary adjustment to _IO_read_end. Hence in append mode, offset computation when writing should only consider the effect of unflushed writes, i.e. from _IO_write_base to _IO_write_ptr. The wiki has a detailed document that describes the rationale for offsets returned by ftell in various conditions: https://sourceware.org/glibc/wiki/File%20offsets%20in%20a%20stdio%20stream%20and%20ftell
* Update powerpc-fpu ULPs.Adhemerval Zanella2014-05-262-0/+26
|
* PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files.Adhemerval Zanella2014-05-2616-11/+57
|
* PowerPC: Move NPTL ABI headers to sysdeps.Adhemerval Zanella2014-05-263-0/+5
|
* PowerPC: Move powerpc64 timer_*.c out of nptl/Adhemerval Zanella2014-05-268-7/+28
|
* PowerPC: Consolidate NPTL/non versions of cloneAdhemerval Zanella2014-05-265-45/+10
|
* PowerPC: Consolidate NPTL/non versions of vforkAdhemerval Zanella2014-05-267-206/+79
|
* Remove nested function mi_arena from malloc_info.Carlos O'Donell2014-05-262-125/+141
| | | | | | | | | | The nested function mi_arena was removed from malloc_info and made into a non-nested static inline function of the same name with the correct set of arguments passed from malloc_info. This enables building glibc with compilers that don't support nested functions. Future work on malloc_info should remove these functions entirely to support JSON format output. Therefore we do the minimum required to remove the nested function.
* PowerPC: Remove 64 bits instructions in PPC32 codeAdhemerval Zanella2014-05-269-16/+28
| | | | This patch replaces the insrdi by insrwi in powerpc32 assembly.
* Fix searching localedef input on I18NPATH (BZ #16984)Andreas Schwab2014-05-264-3/+10
|
* Disable lock elision for PTHREAD_MUTEX_NORMAL.Stefan Liebler2014-05-262-1/+7
|
* Fix typo in tst-mutex5 ifndef -> ifdefStefan Liebler2014-05-262-1/+6
|
* benchtests: Add new directive for benchmark initialization hookSiddhesh Poyarekar2014-05-264-1/+18
| | | | | | | Add a new 'init' directive that specifies the name of the function to call to do function-specific initialization. This is useful for benchmarks that need to do a one-time initialization before the functions are executed.
* [AARCH64] correct alignment of TLS_TCB_ALIGN (BZ #16796)Kyle McMartin2014-05-263-6/+12
| | | | | | | | | | | | | | | This fixes a variety of testsuite failures for me: tststatic.out Error 1 tststatic2.out Error 1 tst-tls9-static.out Error 1 tst-audit8.out Error 127 tst-audit9.out Error 127 tst-audit1.out Error 127 and also has the added benefit of making LD_AUDIT/sotruss work on AArch64. Otherwise, we bail out early in _dl_try_allocate_static_tls as the alignment requirement of the PT_TLS section in libc is 16.
* Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878)Siddhesh Poyarekar2014-05-264-10/+20
| | | | | | | | | | | | The netgroups nss modules in the glibc tree use NSS_STATUS_UNAVAIL (with errno as ERANGE) when the supplied buffer does not have sufficient space for the result. This is wrong, because the canonical way to indicate insufficient buffer is to set the errno to ERANGE and the status to NSS_STATUS_TRYAGAIN, as is used by all other modules. This fixes nscd behaviour when the nss_ldap module returns NSS_STATUS_TRYAGAIN to indicate that a netgroup entry is too long to fit into the supplied buffer.
* arm,aarch64: Remove SINGLE_THREAD_P_PICRichard Henderson2014-05-253-2/+5
| | | | | | | | | | This macro was removed by 2005-11-16 Daniel Jacobowitz <dan@codesourcery.com> but not applied to the (still separate) eabi port so necro'd when the eabi port superceded the old abi. It was thence copied into the new AArch64 port.
* aarch64: Tidy syscall error checkRichard Henderson2014-05-253-10/+21
| | | | | Move the error branch from the PSEUDO_RET macro to the PSEUDO macro. This is in line with other architectures, and will enable further improvments.
* aarch64: Remove DOARGS/UNDOARGS macrosRichard Henderson2014-05-253-24/+9
| | | | While they do something for AArch32, they're useless for AArch64.
* aarch64: Fix DO_CALL block commentRichard Henderson2014-05-252-1/+4
|
* alpha: Do non-default symbols in pt-vfork.SRichard Henderson2014-05-253-6/+21
|