summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/sysdep.h')
-rw-r--r--libc/sysdeps/linux/mips/sysdep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/sysdep.h b/libc/sysdeps/linux/mips/sysdep.h
index da8eacded..f9778b2d1 100644
--- a/libc/sysdeps/linux/mips/sysdep.h
+++ b/libc/sysdeps/linux/mips/sysdep.h
@@ -17,6 +17,7 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#include <sys/syscall.h>
+#include <sys/regdef.h>
#include <features.h>
/* Not that using a `PASTE' macro loses. */
@@ -130,3 +131,9 @@ Cambridge, MA 02139, USA. */
#ifdef __PTHREADS_NATIVE__
#include <sysdep-nptl.h>
#endif
+
+#if _MIPS_SIM == _ABIO32
+# define L(label) $L ## label
+#else
+# define L(label) .L ## label
+#endif