search for: test_s_m1_2

Displaying 2 results from an estimated 2 matches for "test_s_m1_2".

2013 Mar 08
0
[LLVMdev] ARM assembler's syntax in clang
...tively. 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 targets, the test_s_m1_2 have a warning due to -mdynamic-no-pic option. however I haven't test them on iOS device, I'm not sure whether the "-Wl,-read_only_relocs,suppress" option would really work. /* ==begin table.c== */ int data_table[] = {0xff, 0xff}; /* ==end table.c== */ /* ==begin use_table_m1....
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