Displaying 2 results from an estimated 2 matches for "libtest_m1_1".
2013 Mar 08
0
[LLVMdev] ARM assembler's syntax in clang
...LAG = -fPIC -Wall -arch armv7 -mcpu=cortex-a9 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk
all:dynamic static
dynamic:test_d_m1_1 test_d_m1_2 test_d_m2_1 test_d_m2_2
static:test_s_m1_1 test_s_m1_2 test_s_m2_1
test_d_m1_1:test.c libtest_m1_1.dylib
$(CC) $(CFLAG) test.c ./libtest_m1_1.dylib -o $@
test_d_m1_2:test.c libtest_m1_2.dylib
$(CC) $(CFLAG) test.c ./libtest_m1_2.dylib -o $@
test_d_m2_1:test.c libtest_m2_2.dylib
$(CC) $(CFLAG) test.c ./libtest_m2_2.dylib -o $@
test_d_m2_2:test.c libtest_m2_2.dylib
$(CC) $(CFLAG...
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