From cba1ddc169196e1657b8b5480a77a5072e83dbf4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 1 Jul 1998 09:34:02 +0000 Subject: [PATCH] Update. 1998-07-01 09:32 Ulrich Drepper * math/libm-test.c: Adjust delta for indentities1_test because gcc became cleverer. 1998-06-29 Andreas Schwab * resolv/inet_addr.c (inet_aton): Define variable base only if needed. 1998-06-30 Andreas Schwab * scripts/test-installation.pl: Include in test program to make it strictly conforming. 1998-06-30 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, not a strong alias. * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. --- ChangeLog | 23 +++++++++++++++++++++++ math/libm-test.c | 2 +- scripts/test-installation.pl | 1 + sysdeps/unix/sysv/linux/arm/sysdep.S | 6 +----- sysdeps/unix/sysv/linux/i386/sysdep.S | 3 +-- sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S | 3 +-- sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S | 3 +-- 7 files changed, 29 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index da802b9..465e311 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +1998-07-01 09:32 Ulrich Drepper + + * math/libm-test.c: Adjust delta for indentities1_test because gcc + became cleverer. + +1998-06-29 Andreas Schwab + + * resolv/inet_addr.c (inet_aton): Define variable base only if needed. + +1998-06-30 Andreas Schwab + + * scripts/test-installation.pl: Include in test program + to make it strictly conforming. + +1998-06-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, + not a strong alias. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. + 1998-06-30 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias, diff --git a/math/libm-test.c b/math/libm-test.c index 7975bb4..a4e8492 100644 --- a/math/libm-test.c +++ b/math/libm-test.c @@ -5781,7 +5781,7 @@ static void identities (void) { identities1_test (0.2L, CHOOSE (1e-18L, 0, 2e-7)); - identities1_test (0.9L, CHOOSE (1e-18L, 0, 1e-7)); + identities1_test (0.9L, CHOOSE (1e-18L, 0, 2e-7)); identities1_test (0, 0); identities1_test (-1, CHOOSE (1e-18L, 0, 1e-7)); diff --git a/scripts/test-installation.pl b/scripts/test-installation.pl index 76aa3fb..4b17338 100755 --- a/scripts/test-installation.pl +++ b/scripts/test-installation.pl @@ -121,6 +121,7 @@ open PRG, ">/tmp/test-prg$$.c" or die ("Couldn't write test file /tmp/test-prg$$.c"); print PRG ' +#include #include int main(void) { printf ("Your new glibc installation seems to be ok.\n"); diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.S b/sysdeps/unix/sysv/linux/arm/sysdep.S index f6cb3e4..872ed4b 100644 --- a/sysdeps/unix/sysv/linux/arm/sysdep.S +++ b/sysdeps/unix/sysv/linux/arm/sysdep.S @@ -24,11 +24,7 @@ .type C_SYMBOL_NAME(errno),%object .size C_SYMBOL_NAME(errno),4 C_SYMBOL_NAME(errno): .zero 4 - .globl C_SYMBOL_NAME(_errno) - .type C_SYMBOL_NAME(_errno),%object -/* This name is expected by hj's libc.so.5 startup code. It seems to be needed - by pthreads as well. */ -C_SYMBOL_NAME(_errno) = C_SYMBOL_NAME(errno) +weak_alias (C_SYMBOL_NAME(errno), C_SYMBOL_NAME(_errno)) .text /* The syscall stubs jump here when they detect an error. diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.S b/sysdeps/unix/sysv/linux/i386/sysdep.S index 180c425..2d099f9 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.S +++ b/sysdeps/unix/sysv/linux/i386/sysdep.S @@ -31,8 +31,7 @@ .size errno,4 errno: .space 4 - .globl _errno -_errno = errno +weak_alias (errno, _errno) /* The following code is only used in the shared library when we compile the reentrant version. Otherwise each system call defines diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S b/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S index e871e1e..38cd942 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S @@ -7,5 +7,4 @@ errno: .space 4 .type errno, @object .size errno, 4 - .globl _errno -_errno = errno +weak_alias (errno, _errno) diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S b/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S index 97adfdf..0923ed5 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S @@ -30,5 +30,4 @@ errno: .space 4 .globl __errno __errno = errno - .globl _errno -_errno = errno +weak_alias (errno, _errno) -- 2.7.4