summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/lib/libkern/arch/mips/bcmp.S2
-rw-r--r--sys/lib/libkern/arch/mips/bcopy.S6
-rw-r--r--sys/lib/libkern/arch/mips/bzero.S4
-rw-r--r--sys/lib/libkern/arch/mips/ffs.S2
-rw-r--r--sys/lib/libkern/arch/mips/htonl.S2
-rw-r--r--sys/lib/libkern/arch/mips/htons.S2
-rw-r--r--sys/lib/libkern/arch/mips/strcmp.S2
-rw-r--r--sys/lib/libkern/arch/mips/strlen.S2
8 files changed, 19 insertions, 3 deletions
diff --git a/sys/lib/libkern/arch/mips/bcmp.S b/sys/lib/libkern/arch/mips/bcmp.S
index 3eba902cb17..b0638758e6f 100644
--- a/sys/lib/libkern/arch/mips/bcmp.S
+++ b/sys/lib/libkern/arch/mips/bcmp.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* bcmp(s1, s2, n)
*/
diff --git a/sys/lib/libkern/arch/mips/bcopy.S b/sys/lib/libkern/arch/mips/bcopy.S
index 75e367b78b4..3bfebd20e67 100644
--- a/sys/lib/libkern/arch/mips/bcopy.S
+++ b/sys/lib/libkern/arch/mips/bcopy.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* memcpy(to, from, len)
* {ov}bcopy(from, to, len)
@@ -27,7 +29,7 @@ ALEAF(ovbcopy)
sb v1, 0(t1)
2:
j ra
- nop
+ nop
forward:
bne t2, zero, smallcpy # do a small bcopy
xor v1, a0, a1 # compare low two bits of addresses
@@ -90,5 +92,5 @@ smallcpy:
nop # MMU BUG ? can't do -1(a1) at 0x80000000!!
2:
j ra
- nop
+ nop
END(memcpy)
diff --git a/sys/lib/libkern/arch/mips/bzero.S b/sys/lib/libkern/arch/mips/bzero.S
index 07fae64f768..a7e9e10c8da 100644
--- a/sys/lib/libkern/arch/mips/bzero.S
+++ b/sys/lib/libkern/arch/mips/bzero.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* bzero(s1, n)
*/
@@ -30,6 +32,6 @@ smallclr:
sb zero, -1(a0)
2:
j ra
- nop
+ nop
END(bzero)
diff --git a/sys/lib/libkern/arch/mips/ffs.S b/sys/lib/libkern/arch/mips/ffs.S
index eeef787391a..fdc8c0bd3ee 100644
--- a/sys/lib/libkern/arch/mips/ffs.S
+++ b/sys/lib/libkern/arch/mips/ffs.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* bit = ffs(value)
*/
diff --git a/sys/lib/libkern/arch/mips/htonl.S b/sys/lib/libkern/arch/mips/htonl.S
index 61b6edea740..24046d252e0 100644
--- a/sys/lib/libkern/arch/mips/htonl.S
+++ b/sys/lib/libkern/arch/mips/htonl.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* netorder = htonl(hostorder)
* hostorder = ntohl(netorder)
diff --git a/sys/lib/libkern/arch/mips/htons.S b/sys/lib/libkern/arch/mips/htons.S
index 710e182d34e..2ac256aa271 100644
--- a/sys/lib/libkern/arch/mips/htons.S
+++ b/sys/lib/libkern/arch/mips/htons.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* netorder = htons(hostorder)
* hostorder = ntohs(netorder)
diff --git a/sys/lib/libkern/arch/mips/strcmp.S b/sys/lib/libkern/arch/mips/strcmp.S
index 8a2d4315b4a..02b661e11d7 100644
--- a/sys/lib/libkern/arch/mips/strcmp.S
+++ b/sys/lib/libkern/arch/mips/strcmp.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* NOTE: this version assumes unsigned chars in order to be "8 bit clean".
*/
diff --git a/sys/lib/libkern/arch/mips/strlen.S b/sys/lib/libkern/arch/mips/strlen.S
index 5c72b6bfaf1..95d6696429d 100644
--- a/sys/lib/libkern/arch/mips/strlen.S
+++ b/sys/lib/libkern/arch/mips/strlen.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* strlen(str)
*/