set the function attribute on the asm memcpy.

This should fix the loader problem some folks were seeing on beos binaries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20732 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Travis Geiselbrecht 2007-04-17 04:19:45 +00:00
parent f19e1f47da
commit 621b401de4

View File

@ -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 */