summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-28 22:17:16 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-28 22:17:16 +0000
commit056e03583b52e0d3129832ee4913fca47440f05d (patch)
treecd0734048044536135488c47ed10cf374785106d
parent822078f617658091381b55f866a3b4b4392b5fd4 (diff)
downloadglibc-056e03583b52e0d3129832ee4913fca47440f05d.tar.gz
glibc-056e03583b52e0d3129832ee4913fca47440f05d.tar.xz
glibc-056e03583b52e0d3129832ee4913fca47440f05d.zip
Update.
1999-12-28  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
	and oldsetrlimit definitions.
-rw-r--r--ChangeLog5
-rwxr-xr-xiconvdata/run-iconv-test.sh14
-rw-r--r--linuxthreads/ChangeLog8
-rw-r--r--linuxthreads/manager.c2
-rw-r--r--linuxthreads/sysdeps/alpha/pt-machine.h12
-rw-r--r--sysdeps/unix/sysv/linux/alpha/syscalls.list2
6 files changed, 27 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index 775f6eb2fd..c6bf2a724d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
+
+	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
+	and oldsetrlimit definitions.
+
 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
 
 	* iconvdata/run-iconv-test.sh: Improve test output a bit to allow
diff --git a/iconvdata/run-iconv-test.sh b/iconvdata/run-iconv-test.sh
index af9a44f66e..f8b29921eb 100755
--- a/iconvdata/run-iconv-test.sh
+++ b/iconvdata/run-iconv-test.sh
@@ -57,9 +57,9 @@ while read from to subset targets; do
   PROG=`eval echo $ICONV`
 
   for t in $targets; do
-    echo $ac_n "test data: $from -> $to $ac_c"
+    echo $ac_n "test data: $from -> $t $ac_c"
     $PROG -f $from -t $t testdata/$from > $temp1 ||
-      { echo "*** conversion from $from to $t failed"; failed=1; continue; }
+      { echo "FAILED"; failed=1; continue; }
     echo $ac_n "OK$ac_c"
     if test -s testdata/$from..$t; then
       cmp $temp1 testdata/$from..$t > /dev/null 2>&1 ||
@@ -68,10 +68,10 @@ while read from to subset targets; do
     fi
     echo $ac_n " -> $from $ac_c"
     $PROG -f $t -t $to -o $temp2 $temp1 ||
-      { echo "*** conversion from $t to $to failed"; failed=1; continue; }
+      { echo "FAILED"; failed=1; continue; }
     echo $ac_n "OK$ac_c"
     test -s $temp1 && cmp testdata/$from $temp2 > /dev/null 2>&1 ||
-      { echo "*** $from -> t -> $to conversion failed"; failed=1; continue; }
+      { echo "/FAILED"; failed=1; continue; }
     echo "/OK"
     rm -f $temp1 $temp2
 
@@ -79,7 +79,7 @@ while read from to subset targets; do
     # of the coded character set we test we convert the test to this
     # coded character set.  Otherwise we convert to all the TARGETS.
     if test $subset = Y; then
-      echo $ac_n "   suntzu: $from -> $to $ac_c"
+      echo $ac_n "   suntzu: $from -> $t -> $to $ac_c"
       $PROG -f $from -t $t testdata/suntzus |
       $PROG -f $t -t $to > $temp1 ||
 	{ echo "FAILED"; failed=1;
@@ -89,13 +89,13 @@ while read from to subset targets; do
 	{ echo "/FAILED";
 	  failed=1; continue; }
     else
-      echo $ac_n "; suntzu: $from -> ASCII $ac_c"
+      echo $ac_n "   suntzu: $from -> ASCII -> $to $ac_c"
       $PROG -f ASCII -t $to testdata/suntzus |
       $PROG -f $to -t ASCII > $temp1 ||
         { echo "FAILED";
 	  failed=1; continue; }
       echo $ac_n "OK$ac_c"
-	cmp testdata/suntzus $temp1 ||
+      cmp testdata/suntzus $temp1 ||
         { echo "/FAILED";
 	  failed=1; continue; }
     fi
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index adeaf4093f..994f7e610f 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,11 @@
+1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
+
+	* sysdeps/alpha/pt-machine.h: Move stack_pointer definition to the
+	beginning.
+
+	* manager.c (__pthread_start): Add one more cast to prevent
+	warning on 64bit machines.
+
 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
 
 	* manager.c (pthread_handle_create): Set p_pid of new thread
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 9f9585d8ac..78d4aaaaca 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -98,7 +98,7 @@ static void pthread_kill_all_threads(int sig, int main_thread_also);
 
 int __pthread_manager(void *arg)
 {
-  int reqfd = (int)arg;
+  int reqfd = (int) (long int) arg;
   struct pollfd ufd;
   sigset_t mask;
   int n;
diff --git a/linuxthreads/sysdeps/alpha/pt-machine.h b/linuxthreads/sysdeps/alpha/pt-machine.h
index b88629405b..e59c6906c8 100644
--- a/linuxthreads/sysdeps/alpha/pt-machine.h
+++ b/linuxthreads/sysdeps/alpha/pt-machine.h
@@ -26,6 +26,12 @@
 #include <asm/pal.h>
 
 
+/* Get some notion of the current stack.  Need not be exactly the top
+   of the stack, just something somewhere in the current frame.  */
+#define CURRENT_STACK_FRAME  stack_pointer
+register char *stack_pointer __asm__("$30");
+
+
 /* Spinlock implementation; required.  */
 PT_EI long int
 testandset (int *spinlock)
@@ -60,12 +66,6 @@ testandset (int *spinlock)
 #define THREAD_STACK_START_ADDRESS  0x40000000000
 
 
-/* Get some notion of the current stack.  Need not be exactly the top
-   of the stack, just something somewhere in the current frame.  */
-#define CURRENT_STACK_FRAME  stack_pointer
-register char *stack_pointer __asm__("$30");
-
-
 /* Return the thread descriptor for the current thread.  */
 #define THREAD_SELF \
 ({									      \
diff --git a/sysdeps/unix/sysv/linux/alpha/syscalls.list b/sysdeps/unix/sysv/linux/alpha/syscalls.list
index 03030b6c45..8a86c7c76d 100644
--- a/sysdeps/unix/sysv/linux/alpha/syscalls.list
+++ b/sysdeps/unix/sysv/linux/alpha/syscalls.list
@@ -29,8 +29,6 @@ fstatfs		-	fstatfs		2	__fstatfs	fstatfs fstatfs64
 statfs		-	statfs		2	__statfs	statfs statfs64
 getrlimit	-	getrlimit	2	__getrlimit	getrlimit getrlimit64
 setrlimit	-	setrlimit	2	setrlimit	setrlimit64
-oldgetrlimit	EXTRA	getrlimit	2	__old_getrlimit	getrlimit@GLIBC_2.0 getrlimit64@GLIBC_2.1
-oldsetrlimit	EXTRA	setrlimit	2	__old_setrlimit	setrlimit@GLIBC_2.0 setrlimit64@GLIBC_2.1
 ftruncate	-	ftruncate	2	__ftruncate	ftruncate ftruncate64
 truncate	-	truncate	2	truncate	truncate64