aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog23
-rw-r--r--math/libm-test.c2
-rwxr-xr-xscripts/test-installation.pl1
-rw-r--r--sysdeps/unix/sysv/linux/arm/sysdep.S6
-rw-r--r--sysdeps/unix/sysv/linux/i386/sysdep.S3
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S3
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S3
7 files changed, 29 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index da802b9402..465e3119cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+1998-07-01 09:32 Ulrich Drepper <drepper@cygnus.com>
+
+ * math/libm-test.c: Adjust delta for indentities1_test because gcc
+ became cleverer.
+
+1998-06-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
+
+1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * scripts/test-installation.pl: Include <stdio.h> in test program
+ to make it strictly conforming.
+
+1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * 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 <schwab@issan.informatik.uni-dortmund.de>
* 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 7975bb4404..a4e8492bf4 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 76aa3fbbfc..4b173381b4 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 <stdio.h>
#include <stdlib.h>
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 f6cb3e4648..872ed4b555 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 180c42506e..2d099f94af 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 e871e1ece0..38cd942d1f 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 97adfdf219..0923ed5141 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)