Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
9067a3006e
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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