[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 02/04: debian/patches/sparc/submitted-vfork.diff: new patch to fix ABI change and testsuite on sparc*.



This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository glibc.

commit deff0c2e3007c148a5f2b7a4e766c72f567d0ede
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Sun Jun 26 23:52:25 2016 +0200

    debian/patches/sparc/submitted-vfork.diff: new patch to fix ABI change and testsuite on sparc*.
---
 debian/changelog                          |  2 ++
 debian/patches/series                     |  1 +
 debian/patches/sparc/submitted-vfork.diff | 58 +++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4c41b48..602d815 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ glibc (2.22-13) UNRELEASED; urgency=medium
   [ Aurelien Jarno ]
   * debian/patches/mips/submitted-vfork.diff: new patch to fix ABI change and
     testsuite on mips*.
+  * debian/patches/sparc/submitted-vfork.diff: new patch to fix ABI change and
+    testsuite on sparc*.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 20 Jun 2016 00:24:17 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index b6c1628..8fd6be6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -193,6 +193,7 @@ sh4/local-fpscr_values.diff
 
 sparc/local-sparcv9-target.diff
 sparc/submitted-sparc64-socketcall.diff
+sparc/submitted-vfork.diff
 
 all/local-alias-et_EE.diff
 all/local-remove-manual.diff
diff --git a/debian/patches/sparc/submitted-vfork.diff b/debian/patches/sparc/submitted-vfork.diff
new file mode 100644
index 0000000..a112ed1
--- /dev/null
+++ b/debian/patches/sparc/submitted-vfork.diff
@@ -0,0 +1,58 @@
+2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc64/vfork.S: Likewise.
+
+--- a/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
++++ b/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
+@@ -21,7 +21,7 @@
+ 
+ 	.text
+ 	.globl		__syscall_error
+-ENTRY(__vfork)
++ENTRY(__libc_vfork)
+ 	ld	[%g7 + PID], %o5
+ 	cmp	%o5, 0
+ 	bne	1f
+@@ -42,10 +42,10 @@ ENTRY(__vfork)
+ 	 st	%o5, [%g7 + PID]
+ 1:	retl
+ 	 nop
+-END(__vfork)
++END(__libc_vfork)
+ 
+ #if IS_IN (libc)
++weak_alias (__libc_vfork, vfork)
++strong_alias (__libc_vfork, __vfork)
+ libc_hidden_def (__vfork)
+-weak_alias (__vfork, vfork)
+-strong_alias (__vfork, __libc_vfork)
+ #endif
+--- a/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S
++++ b/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S
+@@ -21,7 +21,7 @@
+ 
+ 	.text
+ 	.globl	__syscall_error
+-ENTRY(__vfork)
++ENTRY(__libc_vfork)
+ 	ld	[%g7 + PID], %o5
+ 	sethi	%hi(0x80000000), %o3
+ 	cmp	%o5, 0
+@@ -42,10 +42,10 @@ ENTRY(__vfork)
+ 	 st	%o5, [%g7 + PID]
+ 1:	retl
+ 	 nop
+-END(__vfork)
++END(__libc_vfork)
+ 
+ #if IS_IN (libc)
++weak_alias (__libc_vfork, vfork)
++strong_alias (__libc_vfork, __vfork)
+ libc_hidden_def (__vfork)
+-weak_alias (__vfork, vfork)
+-strong_alias (__vfork, __libc_vfork)
+ #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: