浏览代码

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 年之前
父节点
当前提交
9067a3006e
共有 2 个文件被更改,包括 2 次插入2 次删除
  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