aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/arc/strlen.S
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arc/strlen.S')
-rw-r--r--newlib/libc/machine/arc/strlen.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/machine/arc/strlen.S b/newlib/libc/machine/arc/strlen.S
index 67f820f..2072f3d 100644
--- a/newlib/libc/machine/arc/strlen.S
+++ b/newlib/libc/machine/arc/strlen.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/strlen.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"