From: H.J. Lu Date: Thu, 9 Jun 2016 11:38:34 +0000 (-0700) Subject: X86-64: Add dummy memcopy.h and wordcopy.c X-Git-Tag: glibc-2.24~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75437079e4c5a7416052940ca641a41ddbf6f5fd;p=thirdparty%2Fglibc.git X86-64: Add dummy memcopy.h and wordcopy.c Since x86-64 no longer uses memory copy functions, add dummy memcopy.h and wordcopy.c to reduce code size. It reduces the size of libc.so by about 1 KB. * sysdeps/x86_64/memcopy.h: New file. * sysdeps/x86_64/wordcopy.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index e5a6209053d..9c417f23212 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-06-09 H.J. Lu + + * sysdeps/x86_64/memcopy.h: New file. + * sysdeps/x86_64/wordcopy.c: Likewise. + 2016-06-09 Florian Weimer Prevent GCC 6 from including /usr/include/stdlib.h. diff --git a/sysdeps/x86_64/memcopy.h b/sysdeps/x86_64/memcopy.h new file mode 100644 index 00000000000..590b6cb16b8 --- /dev/null +++ b/sysdeps/x86_64/memcopy.h @@ -0,0 +1 @@ +/* X86-64 doesn't use memory copy functions. */ diff --git a/sysdeps/x86_64/wordcopy.c b/sysdeps/x86_64/wordcopy.c new file mode 100644 index 00000000000..590b6cb16b8 --- /dev/null +++ b/sysdeps/x86_64/wordcopy.c @@ -0,0 +1 @@ +/* X86-64 doesn't use memory copy functions. */