Kaynağa Gözat

disable use of arm memcpy asm if building as thumb code

the thumb incompatibilities in the asm are probably only minor and
should be fixable, but for now just use the C version.
Rich Felker 8 yıl önce
ebeveyn
işleme
9067a3006e
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      src/string/arm/memcpy.c
  2. 1 1
      src/string/arm/memcpy_le.S

+ 1 - 1
src/string/arm/memcpy.c

@@ -1,3 +1,3 @@
-#if __ARMEB__
+#if __ARMEB__ || __thumb__
 #include "../memcpy.c"
 #endif

+ 1 - 1
src/string/arm/memcpy_le.S

@@ -1,4 +1,4 @@
-#ifndef __ARMEB__
+#if !__ARMEB__ && !__thumb__
 
 /*
  * Copyright (C) 2008 The Android Open Source Project