diff options
author | Andreas Jaeger <aj@suse.de> | 2000-04-14 17:36:37 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-04-14 17:36:37 +0000 |
commit | 500d200d0927e7ebb3c206f16e4f10761f060267 (patch) | |
tree | fd61fe2d1b4defa1d68cf5e4ee23034377f6d621 /sysdeps/mips | |
parent | a54fe716da2a9dfd1d581b21279c14ea7287196c (diff) | |
download | glibc-500d200d0927e7ebb3c206f16e4f10761f060267.tar glibc-500d200d0927e7ebb3c206f16e4f10761f060267.tar.gz glibc-500d200d0927e7ebb3c206f16e4f10761f060267.tar.bz2 glibc-500d200d0927e7ebb3c206f16e4f10761f060267.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.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r-- | sysdeps/mips/bits/setjmp.h | 12 | ||||
-rw-r--r-- | sysdeps/mips/setjmp_aux.c | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/mips/bits/setjmp.h b/sysdeps/mips/bits/setjmp.h index ff3d75f821..908b6d5935 100644 --- a/sysdeps/mips/bits/setjmp.h +++ b/sysdeps/mips/bits/setjmp.h @@ -1,5 +1,5 @@ /* Define the machine-dependent type `jmp_buf'. MIPS version. - Copyright (C) 1992, 1993, 1995, 1997 Free Software Foundation, Inc. + Copyright (C) 1992,93,95,97,2000 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -23,19 +23,19 @@ typedef struct { /* Program counter. */ - __ptr_t __pc; + void * __pc; /* Stack pointer. */ - __ptr_t __sp; + void * __sp; /* Callee-saved registers s0 through s7. */ int __regs[8]; /* The frame pointer. */ - __ptr_t __fp; + void * __fp; /* The global pointer. */ - __ptr_t __gp; + void * __gp; /* Floating point status register. */ int __fpc_csr; @@ -53,4 +53,4 @@ typedef struct /* Test if longjmp to JMPBUF would unwind the frame containing a local variable at ADDRESS. */ #define _JMPBUF_UNWINDS(jmpbuf, address) \ - ((__ptr_t) (address) < (jmpbuf)[0].__sp) + ((void *) (address) < (jmpbuf)[0].__sp) 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)); |