aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
AgeCommit message (Collapse)Author
2013-06-05Skip modifying exception mask and flags in SET_RESTORE_ROUND_53BITSiddhesh Poyarekar
We only need to set/restore rounding mode to ensure correct computation for non-default rounding modes.
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar
Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold
2013-05-08Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).Joseph Myers
2013-05-07Declare _dl_skip_args in ldsodefs.h header.Roland McGrath
2013-05-06Flesh out stub not-cancel.h file.Roland McGrath
2013-04-25Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROSPaul Pluzhnikov
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-03-28Make _dl_phdr pointer to const.Roland McGrath
2013-03-28Consolidate declarations of _dl_phdr, _dl_phnum.Roland McGrath
2013-03-21On 32-bit x86, disable certain tests involving sNaN values.Thomas Schwinge
Follow-up to commit 495ded2c8c1eb8c0ac4b54add2dd397852e19cba.
2013-03-15Move _dl_non_dynamic_init, _dl_aux_init declarations.Roland McGrath
2013-03-06Remove powerpc64 bounded-pointers code.Joseph Myers
2013-03-01Fix NEED_DL_SYSINFO_DSO conditionals.Roland McGrath
2013-02-18unify xmalloc prototypes & friendsMike Frysinger
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>
2013-02-18New function _dl_find_dso_for_objectSiddhesh Poyarekar
Consolidate code to search for an address within a DSO.
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers
2013-02-08Remove CHECK_N and bp-checks.h.Joseph Myers
2013-02-08ARM: Support loading unmarked objects from cache.Carlos O'Donell
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>
2013-02-08Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers
2013-02-08Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.Joseph Myers
2013-02-05Add missing includes to sysdeps/generic/malloc-sysdep.h.Roland McGrath
2013-02-04Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers
2013-02-01Remove BOUNDED_N and BOUNDED_1.Joseph Myers
2013-02-01Remove bp-start.h and INIT_ARGV_and_ENVIRON.Joseph Myers
2013-01-31Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.Joseph Myers
2013-01-31Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers
2013-01-31Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers
2013-01-31Remove bp-thunks code.Joseph Myers
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers
2012-12-06Fix warnings from generic _FPU_GETCWChris Metcalf
2012-12-04Fix sparc build with older compilers.David S. Miller
* sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2012-11-27Fix strict-aliasing warnings from unwind-dw2-fde.c.Joseph Myers
2012-11-22Mark unwind-dw2-fde-glibc.c variable possibly unused.Joseph Myers
2012-11-19Add ldconfig cache tag handling for AArch64Steve McIntyre
* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro. * elf/cache.c (print_entry): Print ",AArch64" for FLAG_AARCH64_LIB64. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
2012-11-19Add ldconfig cache tag handling for ARM hard-float ABISteve McIntyre
* sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro. * elf/cache.c (print_entry): Print ",hard-float" for FLAG_ARM_LIBHF. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
2012-11-04generic paths.h: remove old paths from _PATH_STDPATHPino Toscano
Remove /usr/contrib/bin and /usr/old/bin from _PATH_STDPATH, since they seem to be part only of old BSDs, Solaris and HP-UX.
2012-11-04Fix small indendation issues in paths.h filesPino Toscano
2012-11-03Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers
2012-10-30Fix strtod handling of underflow (bug 14047).Joseph Myers
2012-10-18Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.Joseph Myers
2012-10-10* crypt/crypt-entry.c: Include fips-private.h.Alexandre Oliva
(__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled. * crypt/md5c-test.c (main): Tolerate disabled MD5. * sysdeps/unix/sysv/linux/fips-private.h: New file. * sysdeps/generic/fips-private.h: New file, dummy fallback.
2012-10-09Remove _G_off64_t and _G_stat64 from _G_config.h.Joseph Myers
2012-09-28Move _G_config.h with Linuxism to linux/ directory.Roland McGrath
2012-09-28Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.hH.J. Lu
2012-09-25Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers
2012-09-25Remove various _G_*_t type names.Joseph Myers
2012-09-25Shrink heap on linux when overcommit_memory == 2Siddhesh Poyarekar
Using madvise with MADV_DONTNEED to release memory back to the kernel is not sufficient to change the commit charge accounted against the process on Linux. It is OK however, when overcommit is enabled or is heuristic. However, when overcommit is restricted to a percentage of memory setting the contents of /proc/sys/vm/overcommit_memory as 2, it makes a difference since memory requests will fail. Hence, we do what we do with secure exec binaries, which is to call mmap on the region to be dropped with MAP_FIXED. This internally unmaps the pages in question and reduces the amount of memory accounted against the process.