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.26.9000-913-g4c1d801


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  4c1d801a5956f049126ef6cbe22ed23693e77a8c (commit)
      from  478593e6374f3818da39332260dc453cb19cfa1e (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=4c1d801a5956f049126ef6cbe22ed23693e77a8c

commit 4c1d801a5956f049126ef6cbe22ed23693e77a8c
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Mon Dec 4 21:17:17 2017 +0530

    aarch64: Avoid hidden symbols for memcpy/memmove into static binaries
    
    The __GI_* symbol aliases for __memcpy_generic are unnecessary since
    they're never used.  Add them only for libc.so to avoid PLT.  Maybe
    some time in future we need to evaluate the relative cost of PLT vs
    gains from multiarch memcpy implementations and take a call on whether
    to drop this completely.
    
    	* sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
    	Define only for libc.so.

diff --git a/ChangeLog b/ChangeLog
index a847985..6ac924b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+	* sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
+	Define only for libc.so.
+
 2017-12-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
diff --git a/sysdeps/aarch64/multiarch/memcpy_generic.S b/sysdeps/aarch64/multiarch/memcpy_generic.S
index 041a779..edb2e52 100644
--- a/sysdeps/aarch64/multiarch/memcpy_generic.S
+++ b/sysdeps/aarch64/multiarch/memcpy_generic.S
@@ -33,9 +33,11 @@
 # undef libc_hidden_builtin_def
 # define libc_hidden_builtin_def(name)
 
+# ifdef SHARED
 /* It doesn't make sense to send libc-internal memcpy calls through a PLT. */
 	.globl __GI_memcpy; __GI_memcpy = __memcpy_generic
 	.globl __GI_memmove; __GI_memmove = __memmove_generic
+# endif
 
 #endif
 

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

Summary of changes:
 ChangeLog                                  |    5 +++++
 sysdeps/aarch64/multiarch/memcpy_generic.S |    2 ++
 2 files changed, 7 insertions(+), 0 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]