1

I am using the following command arm-linux-androideabi-objcopy --redefine-syms mysyms obj1.o obj2.o. The binary is from the clang3.3 toolchain, which I built using the Android NDK.

The mysyms file contains value pairs in the format of

boo boo_1
foo foo_1
#eof

It works perfectly when using the gcc toolchain, but with the clang toolchain i get "File format not recognized". Is the file format different?

I am using OSX, but I tried on an Ubuntu VM to re-create the mysyms file, just to be sure that the line endings are not messed up.

Cheers

4

1 回答 1

1

浪费了一天多后,解决方案“简单”。

我已经下载了 2014 年 3 月发布的 NDK 修订版 9D,并且objcopy可以正常工作!我使用的是修订版 9C。

您可以在此处找到修订包,以及它们的变更日志。

于 2014-06-06T17:25:40.290 回答