Răsfoiți Sursa

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 ani în urmă
părinte
comite
9067a3006e
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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