summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-09-02 14:39:38 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-09-02 14:39:38 +0000
commitbec90733b9de6e7d75b8bda19b3f0a7117e6b78d (patch)
tree474ca0f3b80b7990ff33e547d42c1e7dc3014e3b /extra/Configs
parentc4cedfc718426337b0215c256c184d2b4e20cd06 (diff)
Add a couple of mips-specific string funcs.
Port the generic optimized string funcs from glibc, with some tweaks to cut their size a little. The main change is making memmove call memcpy for forward copying to trim redundant code. Make use of both the generic and arch-specific speed-optimized string funcs configurable. Arch-specific take precedence over generic, and generic takes precedence over basic size-optimized uClibc funcs.
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 8d4d80760..4deed3026 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -525,6 +525,26 @@ endmenu
menu "String and Stdio Support"
+config UCLIBC_HAS_STRING_GENERIC_OPT
+ bool "Use glibc generic string functions"
+ default y
+ help
+ Answer Y to use the (tweaked) glibc generic string functions.
+ In general, they are faster (but 3-5K larger) than the base
+ uClibc string functions which are optimized solely for size.
+
+ Many people will answer Y.
+
+config UCLIBC_HAS_STRING_ARCH_OPT
+ bool "Use arch-specific string functions"
+ default y
+ help
+ Answer Y to use the arch-specific string functions instead of the
+ base uClibc versions, which are optimized exclusively for size.
+
+ Most people will answer Y, as this has been default behavior
+ for some time.
+
config UCLIBC_HAS_CTYPE_TABLES
bool "Use Table Versions Of 'ctype.h' Functions."
default y