Commit Graph

504 Commits

Author SHA1 Message Date
Richard Henderson
c0b21b6958 alpha: Remove some __GNUC_PREREQs that are too old 2012-06-15 12:00:25 -07:00
Richard Henderson
a7940a7085 alpha: Fix float_t in bits/mathdef.h 2012-06-15 11:56:47 -07:00
Richard Henderson
d8cbc13ab6 alpha: Fix end-of-count checks in strncmp
This routine suffered a similar problem as stxncpy in needing to
bias a potentially very large unsigned number with wraparound.
This exposed a secondary problem where we didn't properly handle
end-of-count condition for the second string input resulting in
stratcliff failures.
2012-06-06 14:51:05 -07:00
Richard Henderson
8e2f4e971f alpha: Fix [BZ #13718]
The routines expect to be able to bias the count by a small number.
If the count is near -1ull, the count will overflow.  Since we cannot
use the whole 64-bit address space, bound the count to LONG_MAX.
2012-06-06 14:45:45 -07:00
Richard Henderson
43ac6d2665 alpha: Fix ev4 build with ev6 compiler 2012-06-06 14:39:23 -07:00
Richard Henderson
b2afe910fb alpha: Use cfi_startproc instead of dual procedure descriptors 2012-06-06 14:35:00 -07:00
Richard Henderson
a683563255 alpha: put mcount prologue at correct location 2012-06-06 14:23:21 -07:00
Richard Henderson
f93d7902de alpha: Use -mieee-with-inexact with math/test-misc 2012-06-01 10:46:08 -07:00
Richard Henderson
4b32777daa alpha: Update libm-test-ulps 2012-06-01 09:47:24 -07:00
Richard Henderson
8cac0ece48 alpha: Add -mieee-with-inexact for fma compilation 2012-05-31 07:43:43 -07:00
Richard Henderson
dbdf1bdc1f alpha: Update libm-test-ulps 2012-05-30 16:37:43 -07:00
Richard Henderson
91c0abeda1 alpha: Use dbl-64/wordsize-64 2012-05-30 16:05:42 -07:00
Richard Henderson
268f6dda11 alpha: Use dynamic rounding with sqrt insn 2012-05-30 16:05:42 -07:00
Richard Henderson
dc0c31fbe9 alpha: Re-add imaxdiv. 2012-05-24 13:20:56 -07:00
Richard Henderson
4645e97846 alpha: Rename *.s to *.S 2012-05-20 10:45:51 -07:00
Matt Turner
4ca39b2a40 alpha: Remove __STDC__ conditionals. 2012-04-27 07:33:47 -07:00
Matt Turner
24d6e175c2 alpha: Use const instead of __const. 2012-04-27 07:33:47 -07:00
Richard Henderson
c0c5945b52 Merge sysdeps/alpha/elf/ into sysdeps/alpha/. 2012-03-27 14:29:13 -07:00
Richard Henderson
925f8e84e6 alpha: Update _itoa.h include. 2012-03-21 08:18:55 -07:00
Richard Henderson
bdd7898a58 alpha: Tell math_private.h that we have __isnan et al. 2012-03-19 06:53:31 -07:00
Paul Eggert
ab84e3ff9c Replace FSF snail mail address by URL. 2012-03-09 23:56:38 +00:00
Richard Henderson
b98de9639c alpha: Eliminate plt entries for __ieee_[sg]et_fp_control 2012-02-20 08:17:19 -08:00
Richard Henderson
7b4f30e356 alpha: Don't test USE___THREAD in dl-machine.h. 2012-02-15 16:07:11 -08:00
Richard Henderson
b991ef778a alpha: Don't let preconfigure interfere with other targets. 2012-02-15 08:02:19 -08:00
Richard Henderson
93519140c0 alpha: Re-enable export of the unwind functions, and relro detection. 2012-02-09 11:15:22 -08:00
Richard Henderson
8c7adf8e79 alpha: Add ldsodefs.h and tst-audit.h. 2012-02-08 17:03:28 -08:00
Richard Henderson
dd0c700a97 alpha: Add tls-macros.h. 2012-02-08 17:03:27 -08:00
Richard Henderson
9fb2a6b9af alpha: Convert to crt[in].S.
A particularly trivial conversion, since we were already using
assembler, smuggled inside the C file.
2012-02-08 17:03:27 -08:00
Richard Henderson
6aa8bd8cd1 alpha: Define TLS_DTV_UNALLOCATED. 2012-02-08 17:03:27 -08:00
Richard Henderson
f81b9186ff alpha: Remove HAVE_TLS_SUPPORT and HAVE___THREAD tests. 2012-02-08 17:01:24 -08:00
Joseph Myers
7191c0cfd1 Update alpha files for removal of ia64 from libc. 2012-01-07 16:52:21 +00:00
Andreas Schwab
989edf2cb0 alpha: don't call ifunc functions in trace mode 2011-10-05 11:50:05 +02:00
Aurelien Jarno
a8505de8a4 alpha: Add libm_hidden_def to feupdateenv and fetestexcept 2011-03-01 10:04:15 +10:00
Aurelien Jarno
6534235696 alpha: Define DEFAULT_STACK_PERMS 2011-03-01 10:00:28 +10:00
Michael Cree
b54f998dc3 alpha: Fix compile errors in memchr
Include missing header file and make some casts explicit.
2010-09-26 11:10:18 -07:00
Richard Henderson
926cf114f7 alpha: rewrite memchr.
[BZ #12019]
The new implementation does not read too much data.
2010-09-23 08:02:08 -07:00
Richard Henderson
200b5faee1 alpha: fix memchr to not cause memory faults.
http://www.mail-archive.com/debian-alpha@lists.debian.org/msg25088.html

Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:06:15 -07:00
Aurelien Jarno
2ec03f509f alpha: add dl-procinfo support.
Fixes glibc bug 6827.

Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:02:22 -07:00
Aurelien Jarno
116ff9ad18 alpha: fix corner cases in ceil, floor, rint.
Partial revert of bebc49030c. Even with the revert, ceil and floor are
still faster than libcpml's equivalent.

Fixes bug 5350.

Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:01:40 -07:00
Richard Henderson
3a808c3df7 alpha: Add hidden alias for fegetenv.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:53 -07:00
Richard Henderson
a9374d8174 alpha: Adjust the libc_cv_alpha_hidden_gprel test for gcc 4.5.
GCC 4.5 was able to tell that BAR was read-only and zero, and
elided the load.  Which caused the pattern match to fail.

Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:52 -07:00
Richard Henderson
6796df65e4 alpha: Fix the return type of the atomic.h macros.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:51 -07:00
Roland McGrath
5823b5780d * ChangeLog.alpha: New file (this one).
* sysdeps/alpha, sysdeps/unix/bsd/osf/alpha,
	sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha,
	sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha,
	sysdeps/mach/alpha, sysdeps/mach/hurd/alpha:
	Subdirectories moved here from main repository.
	* sysdeps/alpha/nptl, sysdeps/unix/sysv/linux/alpha/nptl:
	Subdirectories moved here from main repository's nptl/ subdirectory.
	* sysdeps/alpha/preconfigure: New file.
	* sysdeps/alpha/shlib-versions: New file.
2008-11-26 07:21:20 +00:00
Ulrich Drepper
c393be3d2f (__MATH_INLINE): Define to __extern_inline whenever that macro is defined. 2007-09-15 02:31:47 +00:00
Ulrich Drepper
83ab449d41 Replace lll_private_futex_* (*) with lll_futex_* (*, LLL_PRIVATE). 2007-07-28 19:30:20 +00:00
Ulrich Drepper
a34f2176e5 Adjust use of lll_futex_* macros. 2007-06-08 02:47:50 +00:00
Ulrich Drepper
6f02480c59 (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
THREAD_GSCOPE_WAIT): Define.
2007-05-28 16:40:52 +00:00
Richard Henderson
91d46f8a9b 2007-05-07 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
        if __NO_LONG_DOUBLE_MATH.
        * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
        available in the compiler, add .arch directive to ethe assembly.

2007-05-07  Jakub Jelinek  <jakub@redhat.com>

        * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
        compat_symbol to GLIBC_2_1.
        * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
        * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
        * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
        * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
        * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
        * sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
        * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
        libc, not libm.
        (__isnanl): New compat_symbol.
2007-05-07 22:57:20 +00:00
Ulrich Drepper
8d4fccc442 Use __extern_inline and __extern_always_inline where appropriate. 2007-03-17 17:04:09 +00:00
Richard Henderson
f878f0bbc8 * sysdeps/alpha/fpu/s_llround.c: New file.
* sysdeps/alpha/fpu/s_llroundf.c: New file.
	* sysdeps/alpha/fpu/s_lround.c: New file.
	* sysdeps/alpha/fpu/s_lroundf.c: New file.
	* sysdeps/alpha/fpu/s_round.c: New file.
	* sysdeps/alpha/fpu/s_roundf.c: New file.
	* sysdeps/alpha/fpu/s_trunc.c: New file.
	* sysdeps/alpha/fpu/s_truncf.c: New file.
2007-03-14 20:01:05 +00:00