Displaying 4 results from an estimated 4 matches for "main_ios_clang".
2013 Feb 19
2
[LLVMdev] ARM assembler's syntax in clang
On Tue, Feb 19, 2013 at 06:53:19PM +0800, Ashi wrote:
> My develop environment is:
> Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
>
> Undefined symbols for architecture armv7:
> "_add_gas", referenced from:
> _main in main_ios_clang.o
Apple requires a leading _ for all external symbols. So "works as
expected".
Joerg
2013 Feb 19
0
[LLVMdev] ARM assembler's syntax in clang
...le LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.1
Thread model: posix
the code is attached, I get this error (there is no such error under gcc
tool-chain):
Undefined symbols for architecture armv7:
"_add_gas", referenced from:
_main in main_ios_clang.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
I find after add '_' to add_gas label in iosasm_clang.s(change all add_gas
to _add_gas) will get rid of this error, but this will raise error(can't
find symb...
2013 Feb 14
2
[LLVMdev] ARM assembler's syntax in clang
Thanks, Renato.
I'm actually porting a project which is based on GAS to iOS platform. I'll report my result.
Best regards!
ashi
On Feb 13, 2013, at 6:20 PM, Renato Golin <renato.golin at linaro.org> wrote:
> I don't think there is such a document...
>
> There isn't a 1:1 compatibility assurance with any syntax, including the UAL and GAS, but there is good
2013 Feb 20
0
[LLVMdev] ARM assembler's syntax in clang
...Tue, Feb 19, 2013 at 06:53:19PM +0800, Ashi wrote:
> > My develop environment is:
> > Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
> >
> > Undefined symbols for architecture armv7:
> > "_add_gas", referenced from:
> > _main in main_ios_clang.o
>
> Apple requires a leading _ for all external symbols. So "works as
> expected".
>
> Joerg
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/ma...