瀏覽代碼

add __thumb__ check

Mike Frysinger 19 年之前
父節點
當前提交
7e67e3cc23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/ldd.c

+ 1 - 1
utils/ldd.c

@@ -51,7 +51,7 @@
 #include <dmalloc.h>
 #endif
 
-#if defined(__arm__)
+#if defined(__arm__) || defined(__thumb__)
 #define MATCH_MACHINE(x) (x == EM_ARM)
 #define ELFCLASSM	ELFCLASS32
 #endif