deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. AArch64 version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
similarity index 90%
rename from sysdeps/unix/sysv/linux/arm/syscall_error.h
rename to sysdeps/unix/sysv/linux/alpha/syscall_error.h
@@ -1,4 +1,4 @@
-/* Linux wrappers for setting errno. ARM version.
+/* Linux wrappers for setting errno. Alpha version.
Copyright (C) 2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -19,7 +19,7 @@
#ifndef _SYSCALL_ERROR_H
#define _SYSCALL_ERROR_H
-#define SYSCALL_ERROR_FUNC 1
+#define SYSCALL_ERROR_FUNC 0
#define SYSCALL_ERROR_FUNC_ATTR
#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. AArch64 version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. i386 version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR __attribute__ ((__regparm__ (1)))
-
-#endif
similarity index 90%
rename from sysdeps/unix/sysv/linux/hppa/syscall_error.h
rename to sysdeps/unix/sysv/linux/ia64/syscall_error.h
@@ -1,4 +1,4 @@
-/* Linux wrappers for setting errno. HPPA version.
+/* Linux wrappers for setting errno. IA64 version.
Copyright (C) 2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -19,7 +19,7 @@
#ifndef _SYSCALL_ERROR_H
#define _SYSCALL_ERROR_H
-#define SYSCALL_ERROR_FUNC 1
+#define SYSCALL_ERROR_FUNC 0
#define SYSCALL_ERROR_FUNC_ATTR
#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. Microblaze version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
similarity index 90%
rename from sysdeps/unix/sysv/linux/m68k/syscall_error.h
rename to sysdeps/unix/sysv/linux/mips/syscall_error.h
@@ -1,4 +1,4 @@
-/* Linux wrappers for setting errno. m68k version.
+/* Linux wrappers for setting errno. MIPS version.
Copyright (C) 2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -19,7 +19,7 @@
#ifndef _SYSCALL_ERROR_H
#define _SYSCALL_ERROR_H
-#define SYSCALL_ERROR_FUNC 1
+#define SYSCALL_ERROR_FUNC 0
#define SYSCALL_ERROR_FUNC_ATTR
#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. NIOS2 version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. PowerPC version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. RISCV version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. SH version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Linux wrappers for setting errno. SPARC version.
- Copyright (C) 2020 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- 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
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _SYSCALL_ERROR_H
-#define _SYSCALL_ERROR_H
-
-#define SYSCALL_ERROR_FUNC 1
-#define SYSCALL_ERROR_FUNC_ATTR
-
-#endif
@@ -20,9 +20,9 @@
#define _SYSCALL_ERROR_H
/* Each architecture might how __syscall_error is called, either by defining
- an inline function (default) or by calling a hidden function. Check the
+ an inline function or by calling a hidden function (default). Check the
sysdep.h file for the implementation. */
-#define SYSCALL_ERROR_FUNC 0
+#define SYSCALL_ERROR_FUNC 1
/* Any function attribute used to define the __syscall_error in case of
__SYSCALL_ERROR_FUNC (for instance by using a different calling covention
similarity index 90%
rename from sysdeps/unix/sysv/linux/csky/syscall_error.h
rename to sysdeps/unix/sysv/linux/x86_64/syscall_error.h
@@ -1,4 +1,4 @@
-/* Linux wrappers for setting errno. CSKY version.
+/* Linux wrappers for setting errno. x86_64 version.
Copyright (C) 2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -19,7 +19,7 @@
#ifndef _SYSCALL_ERROR_H
#define _SYSCALL_ERROR_H
-#define SYSCALL_ERROR_FUNC 1
+#define SYSCALL_ERROR_FUNC 0
#define SYSCALL_ERROR_FUNC_ATTR
#endif