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

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



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

aurel32 pushed a commit to branch sid
in repository glibc.

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

    debian/patches/mips/submitted-vfork.diff: new patch to fix ABI change and testsuite on mips*.
---
 debian/changelog                         |  4 +++-
 debian/patches/mips/submitted-vfork.diff | 40 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 43465a8..4c41b48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,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*.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 20 Jun 2016 00:24:17 +0200
 
diff --git a/debian/patches/mips/submitted-vfork.diff b/debian/patches/mips/submitted-vfork.diff
new file mode 100644
index 0000000..58ead17
--- /dev/null
+++ b/debian/patches/mips/submitted-vfork.diff
@@ -0,0 +1,40 @@
+2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* 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.
+
+--- a/sysdeps/unix/sysv/linux/mips/vfork.S
++++ b/sysdeps/unix/sysv/linux/mips/vfork.S
+@@ -31,13 +31,13 @@
+ LOCALSZ= 1
+ FRAMESZ= (((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK
+ GPOFF= FRAMESZ-(1*SZREG)
+-NESTED(__vfork,FRAMESZ,sp)
++NESTED(__libc_vfork,FRAMESZ,sp)
+ #ifdef __PIC__
+ 	SETUP_GP
+ #endif
+ 	PTR_SUBU sp, FRAMESZ
+ 	cfi_adjust_cfa_offset (FRAMESZ)
+-	SETUP_GP64_REG (a5, __vfork)
++	SETUP_GP64_REG (a5, __libc_vfork)
+ #ifdef __PIC__
+ 	SAVE_GP (GPOFF)
+ #endif
+@@ -104,10 +104,10 @@ L(error):
+ 	RESTORE_GP64_REG
+ 	j		__syscall_error
+ #endif
+-	END(__vfork)
++	END(__libc_vfork)
+ 
+ #if IS_IN (libc)
+-libc_hidden_def(__vfork)
+-weak_alias (__vfork, vfork)
+-strong_alias (__vfork, __libc_vfork)
++weak_alias (__libc_vfork, vfork)
++strong_alias (__libc_vfork, __vfork)
++libc_hidden_def (__vfork)
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index c76a00e..b6c1628 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -185,6 +185,7 @@ m68k/submitted-gcc34-seccomment.diff
 
 mips/submitted-rld_map.diff
 mips/cvs-testsuite-o32-fp.diff
+mips/submitted-vfork.diff
 
 powerpc/local-powerpc8xx-dcbz.diff
 

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


Reply to: