projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f50347
)
Branch to __fork whenever libpthread.so is loaded.
author
Andreas Schwab
<schwab@suse.de>
Sat, 8 Feb 2003 00:19:21 +0000
(
00:19
+0000)
committer
Andreas Schwab
<schwab@suse.de>
Sat, 8 Feb 2003 00:19:21 +0000
(
00:19
+0000)
linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S
patch
|
blob
|
history
diff --git
a/linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S
b/linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S
index
ba25cb1
..
475bb6e
100644
(file)
--- a/
linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S
+++ b/
linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S
@@
-29,11
+29,16
@@
ENTRY (__vfork)
-#ifdef __NR_vfork
-
- SINGLE_THREAD_P
+#ifdef SHARED
+ tstl (__libc_pthread_functions@GOTPC, %pc)
+#else
+ .weak __pthread_fork
+ movel #__pthread_fork, %d0
+#endif
jbne HIDDEN_JUMPTARGET (__fork)
+#ifdef __NR_vfork
+
/* Pop the return PC value into A0. */
movel %sp@+, %a0