mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
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:
parent
2df1b9804b
commit
75437079e4
@ -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
1
sysdeps/x86_64/memcopy.h
Normal file
@ -0,0 +1 @@
|
||||
/* X86-64 doesn't use memory copy functions. */
|
1
sysdeps/x86_64/wordcopy.c
Normal file
1
sysdeps/x86_64/wordcopy.c
Normal file
@ -0,0 +1 @@
|
||||
/* X86-64 doesn't use memory copy functions. */
|
Loading…
Reference in New Issue
Block a user