summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-17 02:23:24 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-17 02:23:24 +0200
commitff58e44fc38474b1898c59caf9a5e75d0d8c6c57 (patch)
treefcf47896cd4f32cb2c8d27cd59fba3169754c5a1 /libc/sysdeps
parent084e597e9f8e630e9b3fc7044d544699ad5d2886 (diff)
mips: add regdef.h glibc compatibility header
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/mips/Makefile.arch3
-rw-r--r--libc/sysdeps/linux/mips/regdef.h25
2 files changed, 26 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/mips/Makefile.arch b/libc/sysdeps/linux/mips/Makefile.arch
index 2c2e66fbb..844bc2b24 100644
--- a/libc/sysdeps/linux/mips/Makefile.arch
+++ b/libc/sysdeps/linux/mips/Makefile.arch
@@ -20,5 +20,4 @@ SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.S setcontext.S getcontext.S \
ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT
-ARCH_HEADERS := sgidefs.h
-# regdef.h
+ARCH_HEADERS := sgidefs.h regdef.h
diff --git a/libc/sysdeps/linux/mips/regdef.h b/libc/sysdeps/linux/mips/regdef.h
new file mode 100644
index 000000000..64cffbf5b
--- /dev/null
+++ b/libc/sysdeps/linux/mips/regdef.h
@@ -0,0 +1,25 @@
+/* Copyright (C) 1994-2016 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Ralf Baechle <ralf@gnu.org>.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+#ifndef _REGDEF_H
+#define _REGDEF_H
+
+#include <sys/regdef.h>
+#include <sys/fpregdef.h>
+
+#endif /* _REGDEF_H */