z80: Override __memcpy with our own so banked bins don't crash if it gets in
authorAlan Cox <alan@linux.intel.com>
Thu, 22 Nov 2018 00:18:36 +0000 (00:18 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 22 Nov 2018 00:18:36 +0000 (00:18 +0000)
Kernel/lowlevel-z80-banked.s

index 0a1524d..f6ad820 100644 (file)
@@ -1290,11 +1290,13 @@ __mul16::
 
        .globl _memmove
        .globl _memcpy
+       .globl ___memcpy
 
 ; The Z80 has the ldir and lddr instructions, which are perfect for implementing memmove().
 
 _memcpy:
 _memmove:
+___memcpy:
        pop     af
        pop     iy
        pop     hl