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.
This commit is contained in:
H.J. Lu 2016-06-09 04:38:34 -07:00
parent 2df1b9804b
commit 75437079e4
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/memcopy.h: New file.
* sysdeps/x86_64/wordcopy.c: Likewise.
2016-06-09 Florian Weimer <fweimer@redhat.com>
Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.

1
sysdeps/x86_64/memcopy.h Normal file
View File

@ -0,0 +1 @@
/* X86-64 doesn't use memory copy functions. */

View File

@ -0,0 +1 @@
/* X86-64 doesn't use memory copy functions. */