|
@@ -13,21 +13,15 @@
|
|
* Microblaze port by John Williams
|
|
* Microblaze port by John Williams
|
|
*/
|
|
*/
|
|
|
|
|
|
-#define _ERRNO_H 1
|
|
+#include <sys/syscall.h>
|
|
-#include <bits/errno.h>
|
|
|
|
-#define _SYSCALL_H
|
|
|
|
-#include <bits/sysnum.h>
|
|
|
|
-
|
|
|
|
-#include <libc-symbols.h>
|
|
|
|
|
|
|
|
/* Clone the calling process, but without copying the whole address space.
|
|
/* Clone the calling process, but without copying the whole address space.
|
|
The calling process is suspended until the new process exits or is
|
|
The calling process is suspended until the new process exits or is
|
|
replaced by a call to `execve'. Return -1 for errors, 0 to the new process,
|
|
replaced by a call to `execve'. Return -1 for errors, 0 to the new process,
|
|
and the process ID of the new process to the old process. */
|
|
and the process ID of the new process to the old process. */
|
|
|
|
|
|
-.global C_SYMBOL_NAME(errno)
|
|
|
|
-
|
|
|
|
.globl __vfork
|
|
.globl __vfork
|
|
|
|
+ .hidden __vfork
|
|
.align 4
|
|
.align 4
|
|
__vfork:
|
|
__vfork:
|
|
addi r12, r0, SYS_vfork
|
|
addi r12, r0, SYS_vfork
|
|
@@ -50,4 +44,4 @@ __vfork:
|
|
.size __vfork, .-__vfork
|
|
.size __vfork, .-__vfork
|
|
|
|
|
|
weak_alias(__vfork,vfork)
|
|
weak_alias(__vfork,vfork)
|
|
-libc_hidden_weak(vfork)
|
|
+libc_hidden_def(vfork)
|