aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-03-27 21:23:52 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-03-27 21:28:58 -0300
commitd39c0a459ef32a41daac4840859bf304d931adab (patch)
treec6e589a49857e4ba6ebe985a0a543802d55e1e4a /ChangeLog
parentcc8a1620eb97ccddd337d157263c13c57b39ab71 (diff)
downloadglibc-d39c0a459ef32a41daac4840859bf304d931adab.tar
glibc-d39c0a459ef32a41daac4840859bf304d931adab.tar.gz
glibc-d39c0a459ef32a41daac4840859bf304d931adab.tar.bz2
glibc-d39c0a459ef32a41daac4840859bf304d931adab.zip
sparc: Fix arch_fork definition
This patch fixes 3dc214977 for sparc. Different than other architectures SPARC kernel Kconfig does not define CONFIG_CLONE_BACKWARDS, however it has the same ABI as if it did, implemented by sparc-specific code (sparc_do_fork). It also has a unique return value convention for clone: Parent --> %o0 == child's pid, %o1 == 0 Child --> %o0 == parent's pid, %o1 == 1 Which required a special macro to correct issue the syscall (INLINE_CLONE_SYSCALL). Checked on sparc64-linux-gnu and sparcv9-linux-gnu. * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS] (arch_fork): Issue INLINE_CLONE_SYSCALL if defined. * sysdeps/unix/sysv/linux/sparc/kernel-features.h (__ASSUME_CLONE_BACKWARDS): Define.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f2044dee5..6412367632 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
+ (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
+ * sysdeps/unix/sysv/linux/sparc/kernel-features.h
+ (__ASSUME_CLONE_BACKWARDS): Define.
+
2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return