diff options
Diffstat (limited to 'sysdeps/x86_64/memset.S')
-rw-r--r-- | sysdeps/x86_64/memset.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/x86_64/memset.S b/sysdeps/x86_64/memset.S index db39b09c89..939240600d 100644 --- a/sysdeps/x86_64/memset.S +++ b/sysdeps/x86_64/memset.S @@ -30,11 +30,12 @@ .text #ifndef NOT_IN_libc -ENTRY(bzero) +ENTRY(__bzero) mov %rsi,%rdx /* Adjust parameter. */ xorl %esi,%esi /* Fill with 0s. */ jmp L(memset_entry) -END(bzero) +END(__bzero) +weak_alias (__bzero, bzero) #endif #if defined PIC && !defined NOT_IN_libc @@ -126,6 +127,7 @@ L(memset_entry): add $0x40,%rcx dec %rax jne 11b + sfence jmp 4b END (memset) |