]> git.ipfire.org Git - thirdparty/glibc.git/commit
MIPS, SPARC: more fixes to the vfork aliases in libpthread.so
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 21 Jun 2016 21:59:37 +0000 (23:59 +0200)
committerMike Frysinger <vapier@gentoo.org>
Sat, 12 Nov 2016 05:44:36 +0000 (00:44 -0500)
commitf9cd8bf5a78c2add3549b7c206c134d11bfa5ad8
tree81ce8f6579e3c44066c282d6ac9cff82bfcc8988
parentab4b7c6b8012d6fda0002165765a72baf6f08eb4
MIPS, SPARC: more fixes to the vfork aliases in libpthread.so

Commit 43c29487 tried to fix the vfork aliases in libpthread.so on MIPS
and SPARC, but failed to do it correctly, introducing an ABI change.

This patch does the remaining changes needed to align the MIPS and SPARC
vfork implementations with the other architectures. That way the the
alpha version of pt-vfork.S works correctly for MIPS and SPARC. The
changes for alpha were done in 82aab97c.

Changelog:
* sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
__libc_vfork.
(__vfork) [IS_IN (libc)]: Remove alias.
(__libc_vfork) [IS_IN (libc)]: Define as an alias.
* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.

(cherry picked from commit b87c1ec3fa398646f042a68f0ce0f7d09c1348c7)
(cherry picked from commit d16e36e575b7ac0c4ab74f43c9a752c631b943c9)
sysdeps/unix/sysv/linux/mips/vfork.S
sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S