about summary refs log tree commit diff
path: root/sysdeps/generic
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Move include/stubs-biarch.h to sysdeps/generic"H.J. Lu2012-05-231-12/+0
| | | | | | | | | This reverts commit c9908e5705610d3fcde227898fd1774dd13ac43a. Conflicts: ChangeLog.x32 sysdeps/x86_64/preconfigure
* Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-05-212-0/+26
|\
| * Add <sys/auxv.h> and getauxval.Richard Henderson2012-05-202-0/+26
| |
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-05-151-0/+4
|\|
| * Split up stackguard-macros.h into sysdeps directories.Joseph Myers2012-05-151-0/+4
| |
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-05-102-5/+9
|\|
| * Hurd: Fix paths in paths.hSamuel Thibault2012-05-101-4/+4
| |
| * Hurd: Fix value of __libc_stack_endSamuel Thibault2012-05-101-1/+5
| |
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-04-288-0/+0
|\|
| * Add missed zero length files in previous abilist commit.David S. Miller2012-04-288-0/+0
| |
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-04-282-4/+2
|\|
| * move libgcc_s soname definition to shlib-versionsSiddhesh Poyarekar2012-04-262-4/+2
| |
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-04-242-3/+3
|\|
| * Remove all traces of reg_char.David S. Miller2012-04-181-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/generic/memcopy.h (reg_char): Delete. * debug/strcat_chk.c: Use char, not reg_char. * debug/strcpy_chk.c: Likewise. * debug/strncat_chk.c: Likewise. * debug/strncpy_chk.c: Likewise. * string/memchr.c: Likewise. * string/memrchr.c: Likewise. * string/rawmemchr.c: Likewise. * string/strcat.c: Likewise. * string/strchr.c: Likewise. * string/strchrnul.c: Likewise. * string/strcmp.c: Likewise. * string/strcpy.c: Likewise. * string/strncat.c: Likewise. * string/strncmp.c: Likewise. * string/strncpy.c: Likewise.
| * Fix ilogb exception and errno (bug 6794)Adhemerval Zanella2012-04-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [BZ #6794] Following Joseph comments about bug 6794, here is a proposed fix. It turned out to be a large fix mainly because I had to move some file along to follow libm files/names conventions. Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and set the errno and raise exceptions as expected. The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'. I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well. Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested on i386, x86-64, ppc32 and ppc64.
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-04-101-1/+4
|\|
| * New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar2012-04-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | It may sometimes be desirable to make the dynamic linker only pick up libraries from the library path and rpath and not look at the ld.so.cache that ldconfig generates. An example of such a use case is the glibc testsuite where the dynamic linker must not be influenced by any external paths or caches. This change adds a new option --inhibit-ldcache that when used, tells the dynamic linker to not use ld.so.cache even if it is available.
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-03-284-247/+1
|\|
| * Avoid overflows from long double functions using __kernel_standard.Joseph Myers2012-03-281-0/+1
| |
| * Merge branch 'elf-move'Andreas Jaeger2012-03-273-247/+0
| |\ | | | | | | | | | | | | | | | | | | Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
| | * Remove old debug/backtracesyms files, replace with elf versions.Andreas Jaeger2012-03-202-247/+0
| | |
| | * Move sysdeps/generic/elf/* to sysdeps/genericAndreas Jaeger2012-03-193-0/+0
| | |
| * | Add forward declaration for La_x32_regs/La_x32_retvalH.J. Lu2012-03-221-0/+2
| | |
| * | Add x32 support to dynamic linker auditH.J. Lu2012-03-211-0/+9
| | |
| * | Add _ITOA_NEEDED and _ITOA_WORD_TYPEH.J. Lu2012-03-211-4/+20
| | | | | | | | | | | | Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.
| * | Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu2012-03-202-1/+93
| |/
* | Forward declare La_x32_regs and La_x32_retvalH.J. Lu2012-03-221-0/+2
| | | | | | | | | | | | | | | | 2012-03-22 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward declaration. (struct La_x32_retval): Likewise.
* | Add La_x32_regs and La_x32_retvalH.J. Lu2012-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-21 H.J. Lu <hongjiu.lu@intel.com> * elf/tst-auditmod1.c: Use La_x32_regs and La_x32_retval. * elf/tst-auditmod3b.c: Likewise. * elf/tst-auditmod4b.c: Likewise. * elf/tst-auditmod5b.c: Likewise. * elf/tst-auditmod6b.c: Likewise. * elf/tst-auditmod6c.c: Likewise. * elf/tst-auditmod7b.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/x86_64/bits/link.h (La_x32_regs): New macro. (La_x32_retval): Likewise. (la_x32_gnu_pltenter): Use La_x32_regs. (la_x32_gnu_pltexit): Use La_x32_regs and La_x32_retval.
* | Remove _ITOWA_NEEDED and _ITOWA_WORD_TYPEH.J. Lu2012-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-21 H.J. Lu <hongjiu.lu@intel.com> * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of _ITOWA_NEEDED. * stdio-common/_itowa.h: Include <_itoa.h> instead of <limits.h>. (_ITOWA_NEEDED): Removed. (_ITOWA_WORD_TYPE): Likewise. (_itowa_word): Replace _ITOWA_WORD_TYPE with _ITOA_WORD_TYPE. (_itowa): Check _ITOA_NEEDED instead of _ITOWA_NEEDED. * sysdeps/generic/_itoa.h: Update comments. * sysdeps/x86_64/x32/_itowa.h: Removed.
* | Add some comments to _itowa.h/_itoa.hH.J. Lu2012-03-201-4/+12
| |
* | Use _ITO{W}A_NEEDED and _ITO{W}A_WORD_TYPEH.J. Lu2012-03-202-1/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-20 H.J. Lu <hongjiu.lu@intel.com> * debug/backtracesymsfd.c: Include <_itoa.h> instead of <stdio-common/_itoa.h>. * debug/segfault.c: Likewise. * elf/dl-cache.c: Likewise. * elf/dl-minimal.c: Likewise. * elf/dl-misc.c: Likewise. * elf/dl-sysdep.c: Likewise. * elf/dl-version.c: Likewise. * elf/rtld.c: Likewise. * hurd/hurdsock.c: Likewise. * hurd/lookup-retry.c: Likewise. * malloc/malloc.c: Likewise. * malloc/mtrace.c: Likewise. * nscd/nscd_getgr_r.c: Likewise. * nscd/nscd_getpw_r.c: Likewise. * nscd/nscd_getserv_r.c: Likewise. * posix/getopt_init.c: Likewise. * posix/wordexp.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdio-common/printf_fphex.c: Likewise. * stdio-common/vfprintf.c: Likewise. * string/_strerror.c: Likewise. * sysdeps/generic/elf/backtracesymsfd.c: Likewise. * sysdeps/i386/i686/hp-timing.h: Likewise. * sysdeps/mach/_strerror.c: Likewise. * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise. * sysdeps/mach/hurd/sethostid.c: Likewise. * sysdeps/mach/hurd/xmknodat.c: Likewise. * sysdeps/mach/xpg-strerror.c: Likewise. * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. * sysdeps/powerpc/powerpc32/register-dump.h: Likewise. * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise. * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. * sysdeps/powerpc/powerpc64/register-dump.h: Likewise. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. * sysdeps/sparc/sparc64/hp-timing.h: Likewise. * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise. * sysdeps/unix/sysv/linux/futimes.c: Likewise. * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise. * sysdeps/unix/sysv/linux/ptsname.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise. * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise. * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h". Check _ITOA_NEEDED instead of LLONG_MAX != LONG_MAX. (_itoa_word): Use _ITOA_WORD_TYPE on value. (_fitoa_word): Likewise. * stdio-common/_itoa.h: Moved to ... * sysdeps/generic/_itoa.h: Here. (_ITOA_NEEDED): New macro. Defined only if not defined. (_ITOA_WORD_TYPE): Likewise. (_itoa_word): Use _ITOA_WORD_TYPE on value. Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX. * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h". Check _ITOWA_NEEDED instead of LLONG_MAX != LONG_MAX. * stdio-common/_itowa.h: Include <limits.h>. (_ITOWA_NEEDED): New macro. Defined only if not defined. (_ITOWA_WORD_TYPE): Likewise. (_itowa_word): Use _ITOA_WORD_TYPE on value. (_itowa): New macro. Defined only if _ITOWA_NEEDED is false. * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h> instead of "_itoa.h" and "_itowa.h". * stdio-common/vfprintf.: Likewise. * sysdeps/x86_64/x32/gmp-mparam.h (PREFER_LONG_LONG): Removed. * sysdeps/x86_64/x32/_itoa.h: New file. * sysdeps/x86_64/x32/_itowa.h: Likewise.
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-03-191-34/+191
|\| | | | | | | | | | | | | | | Conflicts: sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c sysdeps/unix/sysv/linux/i386/readelflib.c sysdeps/x86_64/ffsll.c sysdeps/x86_64/fpu/math_private.h
| * Create and use libc_feupdateenv_test.Richard Henderson2012-03-191-0/+18
| | | | | | | | | | We can reduce the number of STMXCSR, and often we can avoid the call to __feraiseexcept.
| * Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.Richard Henderson2012-03-191-0/+69
| |
| * Convert libc_feholdexcept et al from macros to inline functions.Richard Henderson2012-03-191-21/+78
| |
| * Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson2012-03-191-13/+26
| | | | | | | | | | | | For code generation to stay identical on x86_64, this requires that we define the fp word manipulation macros before including the generic header.
| * Add x32 support to ldconfigH.J. Lu2012-03-161-0/+1
| |
* | Move include/stubs-biarch.h to sysdeps/genericH.J. Lu2012-03-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-16 H.J. Lu <hongjiu.lu@intel.com> * Makefile ($(inst_includedir)/gnu/stubs.h): Replace include/stubs-biarch.h with stubs-biarch.h. * config.make.in (stubs-biarch_h): Removed. * configure.in (stubs_biarch_h): Don't substitute. * configure: Regenerated. * include/stubs-biarch.h: Moved to ... * sysdeps/generic/stubs-biarch.h: Here. * sysdeps/x86_64/preconfigure: Don't set stubs_biarch_h.
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-03-151-0/+5
|\|
| * Implement and use libc_feholdexcept_setround_53bit and libc_feupdateenv_53bitAndreas Jaeger2012-03-141-0/+5
| | | | | | | | so that double arithmetic in s_sin is done in 53 bit (without extend i386 double precision)
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-03-143-142/+396
|\| | | | | | | | | | | Conflicts: sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c sysdeps/x86_64/bits/atomic.h
| * Fix another instance of the _dl_random masking bug, plus coding style.David S. Miller2012-03-121-2/+2
| | | | | | | | | | | | | | * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix masking out of the most significant byte of random value used. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix coding style in previous change.
| * Move math/math_private.h to sysdeps/generic/math_private.h.Richard Henderson2012-03-091-0/+392
| | | | | | | | This reverts commit 60d6f5a6f50d838bcb4240fcc0223cac445c6c83.
| * 2012-03-05 Tom de Vries <tom@codesourcery.com>Tom de Vries2012-03-051-2/+2
| | | | | | | | | | | | * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure default stack guard is set in last bytes. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
| * Remove old initfini mechanism.Joseph Myers2012-02-211-138/+0
| |
* | Merge remote-tracking branch 'origin/master' into hjl/x32/masterH.J. Lu2012-02-1175-235/+149
|\| | | | | | | | | | | | | | | | | Conflicts: configure sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c sysdeps/x86_64/fpu/bits/mathinline.h Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
| * Replace FSF snail mail address with URLs.Paul Eggert2012-02-0974-222/+148
| |
| * Remove _G_HAVE_SYS_CDEFS.Marek Polacek2012-02-091-1/+0
| |
| * Remove _G_ARGS macros.Marek Polacek2012-02-071-3/+0
| |
| * Remove __STDC__ conditionals from non-installed headers.Joseph Myers2012-01-261-5/+1
| |