From 0308ad66c17de68693b79a6d9d32b552d20fcdaf Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 16 Oct 2007 08:54:19 +0000 Subject: * sysdeps/x86_64/memset.S: Jump from bzero to memset using a local label rather than HIDDEN_JUMPTARGET. 2007-10-16 Jakub Jelinek * sysdeps/x86_64/memset.S: Jump from bzero to memset using a local label rather than HIDDEN_JUMPTARGET. --- sysdeps/x86_64/memset.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps') 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) -- cgit v1.2.3