about summary refs log tree commit diff
path: root/iconv/loop.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-31 04:10:36 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-31 04:10:36 +0000
commitfdf6455589d64544330b708655073b6886d53dfc (patch)
tree5fbab9cb5fad1d45f4982697f59d09573d599dfd /iconv/loop.c
parent99a7e0656c055080cac8d56a8af9df39609e4782 (diff)
downloadglibc-fdf6455589d64544330b708655073b6886d53dfc.tar.gz
glibc-fdf6455589d64544330b708655073b6886d53dfc.tar.xz
glibc-fdf6455589d64544330b708655073b6886d53dfc.zip
Update.
2000-03-30  Ulrich Drepper  <drepper@redhat.com>

	* iconv/skeleton.c: Avoid compiling unaligned versions in some
	with size of dynamic sectionmore cases.
	* iconv/loop.c: Likewise.
Diffstat (limited to 'iconv/loop.c')
-rw-r--r--iconv/loop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/iconv/loop.c b/iconv/loop.c
index 7ddeb3da49..bf0ab487f4 100644
--- a/iconv/loop.c
+++ b/iconv/loop.c
@@ -268,7 +268,9 @@ FCTNAME (LOOPFCT) (const unsigned char **inptrp, const unsigned char *inend,
 
 /* Include the file a second time to define the function to define the
    function to handle unaligned access.  */
-#if !defined _STRING_ARCH_unaligned && !defined DEFINE_UNALIGNED
+#if !defined DEFINE_UNALIGNED && !defined _STRING_ARCH_unaligned \
+    && MIN_NEEDED_FROM != 1 && MAX_NEEDED_FROM % MIN_NEEDED_FROM == 0 \
+    && MIN_NEEDED_TO != 1 && MAX_NEEDED_TO % MIN_NEEDED_TO == 0
 # define DEFINE_UNALIGNED
 # include "loop.c"
 # undef DEFINE_UNALIGNED