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