aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/arc/strncpy-bs.S
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arc/strncpy-bs.S')
-rw-r--r--newlib/libc/machine/arc/strncpy-bs.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/machine/arc/strncpy-bs.S b/newlib/libc/machine/arc/strncpy-bs.S
index ec99152..3077048 100644
--- a/newlib/libc/machine/arc/strncpy-bs.S
+++ b/newlib/libc/machine/arc/strncpy-bs.S
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2015, Synopsys, Inc. All rights reserved.
+ Copyright (c) 2015-2024, Synopsys, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -31,7 +31,8 @@
/* This implementation is optimized for performance. For code size a generic
implementation of this function from newlib/libc/string/strncpy.c will be
used. */
-#if !defined (__OPTIMIZE_SIZE__) && !defined (PREFER_SIZE_OVER_SPEED)
+#if !defined (__OPTIMIZE_SIZE__) && !defined (PREFER_SIZE_OVER_SPEED) \
+ && !defined (__ARC_RF16__)
#include "asm.h"