From 6c65ea7d4a82b00200bfba4ad9c50ede441cd3fc Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 20 Aug 2003 12:04:31 +0000 Subject: [PATCH] memcpy and memmove have been split git-svn-id: svn://svn.cc65.org/cc65/trunk@2386 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/geos/common/Makefile | 2 +- libsrc/geos/common/memcpy.s | 6 ++---- libsrc/geos/common/memmove.s | 10 ++++++++++ 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 libsrc/geos/common/memmove.s diff --git a/libsrc/geos/common/Makefile b/libsrc/geos/common/Makefile index 14cdaffe0..ff1ae7648 100644 --- a/libsrc/geos/common/Makefile +++ b/libsrc/geos/common/Makefile @@ -11,7 +11,7 @@ @$(AS) -o $@ $(AFLAGS) $< C_OBJS = _afailed.o abort.o perror.o sleep.o -S_OBJS = copydata.o memcpy.o memset.o zerobss.o +S_OBJS = copydata.o memcpy.o memmove.o memset.o zerobss.o all: $(C_OBJS) $(S_OBJS) diff --git a/libsrc/geos/common/memcpy.s b/libsrc/geos/common/memcpy.s index 442837d7e..54fb96372 100644 --- a/libsrc/geos/common/memcpy.s +++ b/libsrc/geos/common/memcpy.s @@ -1,12 +1,10 @@ ; -; void* memcpy (void* dest, const void* src, size_t n); -; void* memmove (void* dest, const void* src, size_t n); +; void* __fastcall__ memcpy (void* dest, const void* src, size_t n); ; ; Maciej 'YTM/Elysium' Witkowiak, 15.07.2001 ; - .export _memcpy, _memmove + .export _memcpy .import _MoveData _memcpy = _MoveData -_memmove = _MoveData diff --git a/libsrc/geos/common/memmove.s b/libsrc/geos/common/memmove.s new file mode 100644 index 000000000..dad3d8453 --- /dev/null +++ b/libsrc/geos/common/memmove.s @@ -0,0 +1,10 @@ +; +; void* __fastcall__ memmove (void* dest, const void* src, size_t n); +; +; Maciej 'YTM/Elysium' Witkowiak, 15.07.2001 +; + + .export _memmove + .import _MoveData + +_memmove = _MoveData -- 2.39.5