Sync sparc with sparc64

This commit is contained in:
martin 2018-01-14 19:59:51 +00:00
parent 18d6f1d293
commit 87d689fb73
2 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_prot_support.c,v 1.1 2011/07/18 23:16:10 jym Exp $ */
/* $NetBSD: exec_prot_support.c,v 1.2 2018/01/14 19:59:51 martin Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -30,12 +30,13 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: exec_prot_support.c,v 1.1 2011/07/18 23:16:10 jym Exp $");
__RCSID("$NetBSD: exec_prot_support.c,v 1.2 2018/01/14 19:59:51 martin Exp $");
#include "../../common/exec_prot.h"
int
exec_prot_support(void)
{
return NOTIMPL;
return PERPAGE_XP;
}

View File

@ -1,8 +1,11 @@
/* $NetBSD: return_one.S,v 1.1 2011/07/18 23:16:10 jym Exp $ */
/* $NetBSD: return_one.S,v 1.2 2018/01/14 19:59:51 martin Exp $ */
#include <machine/asm.h>
.globl return_one, return_one_end;
.global return_one_end
return_one: return_one_end:
nop
ENTRY(return_one)
return_one:
retl
mov 1, %o0
return_one_end: