Browse Source

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 năm trước cách đây
mục cha
commit
9067a3006e
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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