Displaying 2 results from an estimated 2 matches for "use_table_m2".
Did you mean:
use_table_m1
2013 Mar 08
0
[LLVMdev] ARM assembler's syntax in clang
...m under powerPC :
http://lists.apple.com/archives/unix-porting/2008/Jan/msg00027.html
here is my summary:
*** problem ***
LDR Rx, =Label is not supported under Clang
*** solution ***
replace LDR pseudo-instruction by manually loading Label. 2 methods are
used, they are shown in use_table_m1.s and use_table_m2.s respectively.
There are 7 targets in my Makefile, include several different option
test(details are all in Makefile).
Test environment is Xcode4.6. The test_d_m1_1 can't be generated due to
illegal text-relocation error and others can be generated, they are 3
dynamic targets and 3 static targ...
2013 Mar 07
2
[LLVMdev] ARM assembler's syntax in clang
Hi Ashi,
> ld: illegal text-relocation to _data_table in table.o from foo in
> use_table.o for architecture armv7
It looks like you're using iOS. I'm not familiar with the exact
workings of that platform, but I think a similar message would occur
in ELF-land.
If iOS *is* comparable, your issue is that symbols in dynamically
loaded objects can't (usually) be referenced directly