From ff58e44fc38474b1898c59caf9a5e75d0d8c6c57 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 17 Jul 2016 02:23:24 +0200 Subject: mips: add regdef.h glibc compatibility header --- libc/sysdeps/linux/mips/Makefile.arch | 3 +-- libc/sysdeps/linux/mips/regdef.h | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 libc/sysdeps/linux/mips/regdef.h 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 . + + 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 + . */ + +#ifndef _REGDEF_H +#define _REGDEF_H + +#include +#include + +#endif /* _REGDEF_H */ -- cgit v1.2.3