Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/arch/mips Use .set noreorder and use reg names.
details: https://anonhg.NetBSD.org/src/rev/0905c5c240f6
branches: trunk
changeset: 980033:0905c5c240f6
user: simonb <simonb%NetBSD.org@localhost>
date: Thu Jan 21 00:56:41 2021 +0000
description:
Use .set noreorder and use reg names.
atf- lib/libc/sys/t_mprotect mprotect_mremap_exec is a bit happier now.
diffstat:
tests/lib/libc/arch/mips/return_one.S | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 2a85cd72cdeb -r 0905c5c240f6 tests/lib/libc/arch/mips/return_one.S
--- a/tests/lib/libc/arch/mips/return_one.S Thu Jan 21 00:38:28 2021 +0000
+++ b/tests/lib/libc/arch/mips/return_one.S Thu Jan 21 00:56:41 2021 +0000
@@ -1,11 +1,13 @@
-/* $NetBSD: return_one.S,v 1.2 2019/02/14 10:36:33 mrg Exp $ */
+/* $NetBSD: return_one.S,v 1.3 2021/01/21 00:56:41 simonb Exp $ */
#include <machine/asm.h>
+.set noreorder
+
.globl return_one, return_one_end;
return_one:
- jr $31
- li $2,1
+ jr ra
+ li v0,1
return_one_end:
Home |
Main Index |
Thread Index |
Old Index