diff --git a/src/system/libroot/posix/string/arch/x86/arch_string.S b/src/system/libroot/posix/string/arch/x86/arch_string.S index c5bf8afec4..822cb9c8ed 100644 --- a/src/system/libroot/posix/string/arch/x86/arch_string.S +++ b/src/system/libroot/posix/string/arch/x86/arch_string.S @@ -3,10 +3,10 @@ ** Distributed under the terms of the NewOS License. */ -.globl memcpy +#define FUNCTION(x) .global x; .type x,@function; x .align 4 -memcpy: +FUNCTION(memcpy): pushl %esi pushl %edi movl 12(%esp),%edi /* dest */