------- Additional Comments From evilight at gmail dot com 2007-04-20 11:01 ------- (In reply to comment #2) > You must use a PIC call.
Could you please describe more details? I also tried this: compile the assemble code with gcc gcc -fPIC -o a.o -c a.s gcc -fPIC -o b.o -c b.c ld -shared a.o b.o -o libtest.so ld: a.o: relocation R_X86_64_PC32 against `int_this_is_a_test_k8_64_body' can not be used when making a shared object; recompile with -fPIC ld: final link failed: Bad value make: *** [libtest.so] Error 1 it is still the same. -- http://sourceware.org/bugzilla/show_bug.cgi?id=4398 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils