diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-06-09 04:38:34 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-06-09 04:38:34 -0700 |
commit | 75437079e4c5a7416052940ca641a41ddbf6f5fd (patch) | |
tree | 410e4746e0738de1f1ccd6d2a964edebf26640fe /sysdeps/x86_64 | |
parent | 2df1b9804bcf714dfed12def17f8a518403d8d6b (diff) | |
download | glibc-75437079e4c5a7416052940ca641a41ddbf6f5fd.tar.gz glibc-75437079e4c5a7416052940ca641a41ddbf6f5fd.tar.xz glibc-75437079e4c5a7416052940ca641a41ddbf6f5fd.zip |
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.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/memcopy.h | 1 | ||||
-rw-r--r-- | sysdeps/x86_64/wordcopy.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/memcopy.h b/sysdeps/x86_64/memcopy.h new file mode 100644 index 0000000000..590b6cb16b --- /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 0000000000..590b6cb16b --- /dev/null +++ b/sysdeps/x86_64/wordcopy.c @@ -0,0 +1 @@ +/* X86-64 doesn't use memory copy functions. */ |