| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This reverts commit c9908e5705610d3fcde227898fd1774dd13ac43a.
Conflicts:
ChangeLog.x32
sysdeps/x86_64/preconfigure
|
|\ |
|
| | |
|
|\| |
|
| | |
|
|\| |
|
| | |
|
| | |
|
|\| |
|
| | |
|
|\| |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[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.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\| |
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
debug/backtracesymsfd.c
sysdeps/generic/elf/backtracesymsfd.c
sysdeps/i386/configure.in
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
We can reduce the number of STMXCSR, and often we can avoid the
call to __feraiseexcept.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
For code generation to stay identical on x86_64, this requires that
we define the fp word manipulation macros before including the
generic header.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\| |
|
| |
| |
| |
| | |
so that double arithmetic in s_sin is done in 53 bit (without extend i386 double precision)
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c
sysdeps/x86_64/bits/atomic.h
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
This reverts commit 60d6f5a6f50d838bcb4240fcc0223cac445c6c83.
|
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
|
| | |
|
| | |
|
| | |
|