This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-27-g42de7e2


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  42de7e20299e0bab8b8b761b34ebcd4b60c68132 (commit)
      from  ef8659eab64fc24979afa2bd5a272dacf662a7d2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=42de7e20299e0bab8b8b761b34ebcd4b60c68132

commit 42de7e20299e0bab8b8b761b34ebcd4b60c68132
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Feb 8 16:30:43 2017 -0200

    aarch64: fix errno address calculation in SYSCALL_ERROR_HANDLER
    
    This patch fixes the last regression in LTP lite scenario (mmap16) comparing
    to lp64 in my source trees [1, 2]. The fix has been suggested back in 2015 [3]
    but was never applied.
    
    Checked on aarch64-linux-gnu.
    
    	* sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
    	calculation in SYSCALL_ERROR_HANDLER().
    
    [1] https://github.com/norov/glibc/tree/dev9
    [2] https://github.com/norov/linux/tree/ilp32-20170203
    [3] https://sourceware.org/ml/libc-alpha/2015-03/msg00587.html

diff --git a/ChangeLog b/ChangeLog
index 951daa7..e2fe0d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
+
+	* sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
+	calculation in SYSCALL_ERROR_HANDLER().
+
 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
 
 	* manual/contrib.texi: Fix typo.
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index ad49241..f301638 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -108,7 +108,7 @@
 .Lsyscall_error:						\
 	adrp	x1, :gottprel:errno;				\
 	neg	w2, w0;						\
-	ldr	x1, [x1, :gottprel_lo12:errno];			\
+	ldr	PTR_REG(1), [x1, :gottprel_lo12:errno];		\
 	mrs	x3, tpidr_el0;					\
 	mov	x0, -1;						\
 	str	w2, [x1, x3];					\

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                |    5 +++++
 sysdeps/unix/sysv/linux/aarch64/sysdep.h |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]