[PATCH] libm: unbreak scalbn for 64-bit processors

2010-05-26 Thread Roman I Khimov
Obvious typo.

Signed-off-by: Roman I Khimov khi...@altell.ru
---
 libm/s_scalbn.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libm/s_scalbn.c b/libm/s_scalbn.c
index 47983b0..a3399b2 100644
--- a/libm/s_scalbn.c
+++ b/libm/s_scalbn.c
@@ -71,7 +71,7 @@ __typeof(scalbn) scalbn __attribute__((alias(scalbln)));
 #else
 double scalbn(double x, int n)
 {
-   return scalbn(x, n);
+   return scalbln(x, n);
 }
 #endif
 libm_hidden_def(scalbn)
-- 
1.5.6.5

___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc


[PATCH] libm: unhide signgam

2010-05-26 Thread Roman I Khimov
Fixes signgam checks in math tests on x86_64. It's R_X86_64_COPY for program,
so the program didn't see any changes from libm.

Signed-off-by: Roman I Khimov khi...@altell.ru
---
 include/math.h   |1 -
 libm/s_signgam.c |1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/math.h b/include/math.h
index 83ed899..91ebd64 100644
--- a/include/math.h
+++ b/include/math.h
@@ -193,7 +193,6 @@ extern long double __REDIRECT_NTH (nexttowardl,
 #if defined __USE_MISC || defined __USE_XOPEN
 /* This variable is used by `gamma' and `lgamma'.  */
 extern int signgam;
-libm_hidden_proto(signgam)
 #endif
 
 
diff --git a/libm/s_signgam.c b/libm/s_signgam.c
index eee5d65..d67d591 100644
--- a/libm/s_signgam.c
+++ b/libm/s_signgam.c
@@ -1,4 +1,3 @@
 #include math.h
 #include math_private.h
 int signgam = 0;
-libm_hidden_def(signgam)
-- 
1.5.6.5

___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc


Re: chiming in 1.0.0-rc1

2010-05-26 Thread Roman I Khimov
В сообщении от Среда 26 мая 2010 02:12:20 автор Bernhard Reutner-Fischer 
написал:
 - disable !NPTL for arches that have NPTL impls.
   Disable threads for everybody who doesn't have NPTL to force
   psychological strain (one could argue about this).
   Where '+' means ported, 'o' means TODO/needs verification
.
   + x86_64

Technically, it's not +, since this:
http://lists.uclibc.org/pipermail/uclibc/2010-April/043935.html

or any other solution is not commited yet.
___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Re: chiming in 1.0.0-rc1

2010-05-26 Thread Joakim Tjernlund
 From: Roman I Khimov khi...@altell.ru
 To: uclibc@uclibc.org
 Date: 2010/05/26 13:15
 Subject: Re: chiming in 1.0.0-rc1
 Sent by: uclibc-boun...@uclibc.org

 В сообщении от Среда 26 мая 2010 02:12:20 автор Bernhard Reutner-Fischer
 написал:
  - disable !NPTL for arches that have NPTL impls.
Disable threads for everybody who doesn't have NPTL to force
psychological strain (one could argue about this).
Where '+' means ported, 'o' means TODO/needs verification
 .
+ x86_64

 Technically, it's not +, since this:
 http://lists.uclibc.org/pipermail/uclibc/2010-April/043935.html

 or any other solution is not commited yet.

Right, could you try the other patch I sent and see how far it gets you?

 Jocke
___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc