summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2010-10-24 05:22:07 +0000
committerjchandra <jchandra@FreeBSD.org>2010-10-24 05:22:07 +0000
commit0342a7454ce8df736e10e09494f0786edb092be2 (patch)
treebc740b957067172c2b58dfa92ca45646e4269ac6 /lib
parentac495e24872de53b8cd3cc5ff72eed984b73901b (diff)
downloadFreeBSD-src-0342a7454ce8df736e10e09494f0786edb092be2.zip
FreeBSD-src-0342a7454ce8df736e10e09494f0786edb092be2.tar.gz
Fix PIC_RETURN when abicalls are not defined.
Submitted by: Artem Belevich (artemb at gmail dot com)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/mips/SYS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/mips/SYS.h b/lib/libc/mips/SYS.h
index 7f2eeff..10205b8 100644
--- a/lib/libc/mips/SYS.h
+++ b/lib/libc/mips/SYS.h
@@ -91,7 +91,7 @@
#else
# define PIC_PROLOGUE(x)
# define PIC_TAILCALL(l) j _C_LABEL(l)
-# define PIC_RETURN()
+# define PIC_RETURN() j ra
#endif /* __ABICALLS__ */
# define SYSTRAP(x) li v0,SYS_ ## x; syscall;
OpenPOWER on IntegriCloud