aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/arc/memset-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arc/memset-stub.c')
-rw-r--r--newlib/libc/machine/arc/memset-stub.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/machine/arc/memset-stub.c b/newlib/libc/machine/arc/memset-stub.c
index 981ca1f..d285eb4 100644
--- a/newlib/libc/machine/arc/memset-stub.c
+++ b/newlib/libc/machine/arc/memset-stub.c
@@ -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:
@@ -29,7 +29,8 @@
*/
-#if defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED)
+#if defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED) \
+ || defined (__ARC_RF16__)
# include "../../string/memset.c"
#else
/* See memset-*.S. */