about summary refs log tree commit diff
path: root/sysdeps/mips/setjmp_aux.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-14 17:36:37 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-14 17:36:37 +0000
commitb82f6af254b7b7ea6c7dfa680d43b093198ed817 (patch)
treeca94facec57c8a6af391ea45353a96472fdad18e /sysdeps/mips/setjmp_aux.c
parentbb8e0116cd59b11053154fb4adbad9f06a344147 (diff)
downloadglibc-b82f6af254b7b7ea6c7dfa680d43b093198ed817.tar.gz
glibc-b82f6af254b7b7ea6c7dfa680d43b093198ed817.tar.xz
glibc-b82f6af254b7b7ea6c7dfa680d43b093198ed817.zip
2000-04-14 Andreas Jaeger <aj@suse.de>
	* weaks.c: Fix typo.

2000-04-14  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/madvise.c: Fix typos.

	* sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.

	* sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.

	* sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
	warnings.
2000-04-14  Andreas Jaeger  <aj@suse.de>

	* weaks.c: Fix typo.
Diffstat (limited to 'sysdeps/mips/setjmp_aux.c')
-rw-r--r--sysdeps/mips/setjmp_aux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mips/setjmp_aux.c b/sysdeps/mips/setjmp_aux.c
index d06732efc2..e7b83c4d3c 100644
--- a/sysdeps/mips/setjmp_aux.c
+++ b/sysdeps/mips/setjmp_aux.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -39,10 +39,10 @@ __sigsetjmp_aux (jmp_buf env, int savemask, int sp, int fp)
   asm volatile ("sw $31, %0" : : "m" (env[0].__jmpbuf[0].__pc));
 
   /* .. and the stack pointer;  */
-  env[0].__jmpbuf[0].__sp = sp;
+  env[0].__jmpbuf[0].__sp = (void *) sp;
 
   /* .. and the FP; it'll be in s8. */
-  env[0].__jmpbuf[0].__fp = fp;
+  env[0].__jmpbuf[0].__fp = (void *) fp;
 
   /* .. and the GP; */
   asm volatile ("sw $gp, %0" : : "m" (env[0].__jmpbuf[0].__gp));