aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-10-16 08:54:19 +0000
committerJakub Jelinek <jakub@redhat.com>2007-10-16 08:54:19 +0000
commit0308ad66c17de68693b79a6d9d32b552d20fcdaf (patch)
tree4c98e1212de557d363b49b285b2430e3d1b27d19 /sysdeps
parente2b393bc6949a2ba6c71c6c79ad807c1ed27ee8b (diff)
downloadglibc-0308ad66c17de68693b79a6d9d32b552d20fcdaf.tar
glibc-0308ad66c17de68693b79a6d9d32b552d20fcdaf.tar.gz
glibc-0308ad66c17de68693b79a6d9d32b552d20fcdaf.tar.bz2
glibc-0308ad66c17de68693b79a6d9d32b552d20fcdaf.zip
* sysdeps/x86_64/memset.S: Jump from bzero to memset using
a local label rather than HIDDEN_JUMPTARGET. 2007-10-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/x86_64/memset.S: Jump from bzero to memset using a local label rather than HIDDEN_JUMPTARGET.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/memset.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/memset.S b/sysdeps/x86_64/memset.S
index cfc32837e7..2b56a65df3 100644
--- a/sysdeps/x86_64/memset.S
+++ b/sysdeps/x86_64/memset.S
@@ -24,7 +24,7 @@
ENTRY (bzero)
mov %rsi,%rdx /* Adjust parameter. */
xorl %esi,%esi /* Fill with 0s. */
- jmp HIDDEN_JUMPTARGET (memset)
+ jmp L(memset_entry)
END (bzero)
#if defined PIC && !defined NOT_IN_libc
@@ -35,6 +35,7 @@ END (__memset_chk)
#endif
ENTRY (memset)
+L(memset_entry):
cmp $0x1,%rdx
mov %rdi,%rax /* memset returns the dest address. */
jne L(ck2)