summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/mips/bits/syscalls.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/mips/bits/syscalls.h b/libc/sysdeps/linux/mips/bits/syscalls.h
index 22d53aac5..2f50026ea 100644
--- a/libc/sysdeps/linux/mips/bits/syscalls.h
+++ b/libc/sysdeps/linux/mips/bits/syscalls.h
@@ -30,7 +30,7 @@ __asm__ volatile ("li\t$2,%2\n\t" \
: "=r" (__res), "=r" (__err) \
: "i" (__NR_##name) \
: "$2","$7","$8","$9","$10","$11","$12","$13","$14","$15", \
- "$24"); \
+ "$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \
@@ -52,7 +52,7 @@ __asm__ volatile ("move\t$4,%3\n\t" \
"move\t%1, $7" \
: "=r" (__res), "=r" (__err) \
: "i" (__NR_##name),"r" ((long)(a)) \
- : "$2","$4","$7","$8","$9","$10","$11","$12","$13","$14","$15","$24"); \
+ : "$2","$4","$7","$8","$9","$10","$11","$12","$13","$14","$15","$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \
@@ -73,7 +73,7 @@ __asm__ volatile ("move\t$4,%3\n\t" \
: "i" (__NR_##name),"r" ((long)(a)), \
"r" ((long)(b)) \
: "$2","$4","$5","$7","$8","$9","$10","$11","$12","$13", \
- "$14","$15", "$24"); \
+ "$14","$15", "$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \
@@ -96,7 +96,7 @@ __asm__ volatile ("move\t$4,%3\n\t" \
"r" ((long)(b)), \
"r" ((long)(c)) \
: "$2","$4","$5","$6","$7","$8","$9","$10","$11","$12", \
- "$13","$14","$15","$24"); \
+ "$13","$14","$15","$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \
@@ -121,7 +121,7 @@ __asm__ volatile ("move\t$4,%3\n\t" \
"r" ((long)(c)), \
"r" ((long)(d)) \
: "$2","$4","$5","$6","$7","$8","$9","$10","$11","$12", \
- "$13","$14","$15","$24"); \
+ "$13","$14","$15","$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \
@@ -151,7 +151,7 @@ __asm__ volatile ("move\t$4,%3\n\t" \
"r" ((long)(d)), \
"m" ((long)(e)) \
: "$2","$4","$5","$6","$7","$8","$9","$10","$11","$12", \
- "$13","$14","$15","$24"); \
+ "$13","$14","$15","$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \
@@ -184,7 +184,7 @@ __asm__ volatile ("move\t$4,%3\n\t" \
"m" ((long)(e)), \
"m" ((long)(f)) \
: "$2","$3","$4","$5","$6","$7","$8","$9","$10","$11", \
- "$12","$13","$14","$15","$24"); \
+ "$12","$13","$14","$15","$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \
@@ -220,7 +220,7 @@ __asm__ volatile ("move\t$4,%3\n\t" \
"m" ((long)(f)), \
"m" ((long)(g)) \
: "$2","$3","$4","$5","$6","$7","$8","$9","$10","$11", \
- "$12","$13","$14","$15","$24"); \
+ "$12","$13","$14","$15","$24","memory"); \
if (__err == 0) \
return (type) __res; \
__set_errno(__res); \