summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-26 18:17:18 +0000
committerderaadt <deraadt@openbsd.org>1995-12-26 18:17:18 +0000
commit6a08e071d0dbda14460a1f7c45568ab78bbfcec4 (patch)
treede38dc15a5647e1df85fef98d9698364cc6e7289
parentfrom netbsd; deal with ufs -> ffs transition (diff)
downloadwireguard-openbsd-6a08e071d0dbda14460a1f7c45568ab78bbfcec4.tar.xz
wireguard-openbsd-6a08e071d0dbda14460a1f7c45568ab78bbfcec4.zip
from netbsd:
Change mips assembly code for {,_,sig}setjmp.S to get register names from <machine/regnum.h>, not <machine/reg.h> (which also defines structs.)
-rw-r--r--lib/libc/arch/mips/gen/_setjmp.S4
-rw-r--r--lib/libc/arch/mips/gen/setjmp.S4
-rw-r--r--lib/libc/arch/mips/gen/sigsetjmp.S4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/arch/mips/gen/_setjmp.S b/lib/libc/arch/mips/gen/_setjmp.S
index b732b8e3b76..879a0d67468 100644
--- a/lib/libc/arch/mips/gen/_setjmp.S
+++ b/lib/libc/arch/mips/gen/_setjmp.S
@@ -34,12 +34,12 @@
* SUCH DAMAGE.
*/
-#include <machine/reg.h>
+#include <machine/regnum.h>
#include <machine/machAsmDefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)_setjmp.s 8.1 (Berkeley) 6/4/93")
- ASMSTR("$Id: _setjmp.S,v 1.1.1.1 1995/10/18 08:41:33 deraadt Exp $")
+ ASMSTR("$Id: _setjmp.S,v 1.2 1995/12/26 18:17:18 deraadt Exp $")
#endif /* LIBC_SCCS and not lint */
/*
diff --git a/lib/libc/arch/mips/gen/setjmp.S b/lib/libc/arch/mips/gen/setjmp.S
index bfc085094f2..40fed43fd02 100644
--- a/lib/libc/arch/mips/gen/setjmp.S
+++ b/lib/libc/arch/mips/gen/setjmp.S
@@ -35,12 +35,12 @@
*/
#include <sys/syscall.h>
-#include <machine/reg.h>
+#include <machine/regnum.h>
#include <machine/machAsmDefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)setjmp.s 8.1 (Berkeley) 6/4/93")
- ASMSTR("$Id: setjmp.S,v 1.1.1.1 1995/10/18 08:41:34 deraadt Exp $")
+ ASMSTR("$Id: setjmp.S,v 1.2 1995/12/26 18:17:18 deraadt Exp $")
#endif /* LIBC_SCCS and not lint */
/*
diff --git a/lib/libc/arch/mips/gen/sigsetjmp.S b/lib/libc/arch/mips/gen/sigsetjmp.S
index 3ebd51fab48..44507d06701 100644
--- a/lib/libc/arch/mips/gen/sigsetjmp.S
+++ b/lib/libc/arch/mips/gen/sigsetjmp.S
@@ -35,13 +35,13 @@
*/
#include <sys/syscall.h>
-#include <machine/reg.h>
+#include <machine/regnum.h>
#include <machine/machAsmDefs.h>
#include <machine/setjmp.h>
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)setjmp.s 8.1 (Berkeley) 6/4/93")
- ASMSTR("$Id: sigsetjmp.S,v 1.1 1995/12/15 15:35:56 deraadt Exp $")
+ ASMSTR("$Id: sigsetjmp.S,v 1.2 1995/12/26 18:17:19 deraadt Exp $")
#endif /* LIBC_SCCS and not lint */
/*