diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-10-16 08:54:19 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-10-16 08:54:19 +0000 |
commit | 0308ad66c17de68693b79a6d9d32b552d20fcdaf (patch) | |
tree | 4c98e1212de557d363b49b285b2430e3d1b27d19 | |
parent | e2b393bc6949a2ba6c71c6c79ad807c1ed27ee8b (diff) | |
download | glibc-0308ad66c17de68693b79a6d9d32b552d20fcdaf.zip glibc-0308ad66c17de68693b79a6d9d32b552d20fcdaf.tar.gz glibc-0308ad66c17de68693b79a6d9d32b552d20fcdaf.tar.bz2 |
* 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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/memset.S | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +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. + 2007-10-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define. diff --git a/sysdeps/x86_64/memset.S b/sysdeps/x86_64/memset.S index cfc3283..2b56a65 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) |