summaryrefslogtreecommitdiff
path: root/firmware/common/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/memcpy.c')
-rw-r--r--firmware/common/memcpy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/common/memcpy.c b/firmware/common/memcpy.c
index e3806805b6..49678920fa 100644
--- a/firmware/common/memcpy.c
+++ b/firmware/common/memcpy.c
@@ -53,6 +53,12 @@ _PTR
53_DEFUN (memcpy, (dst0, src0, len0), 53_DEFUN (memcpy, (dst0, src0, len0),
54 _PTR dst0 _AND 54 _PTR dst0 _AND
55 _CONST _PTR src0 _AND 55 _CONST _PTR src0 _AND
56 size_t len0) __attribute__ ((section (".icode")));
57
58_PTR
59_DEFUN (memcpy, (dst0, src0, len0),
60 _PTR dst0 _AND
61 _CONST _PTR src0 _AND
56 size_t len0) 62 size_t len0)
57{ 63{
58#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) 64#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)