[Bug ld/4398] New: relocation R_X86_64_PC32 against 'funcx'; recompile with -fPIC

2007-04-20 Thread evilight at gmail dot com
rmal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: evilight at gmail dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=4398 --- You are receiving this mail because:

[Bug ld/4398] relocation R_X86_64_PC32 against 'funcx'; recompile with -fPIC

2007-04-20 Thread evilight at gmail dot com
--- Additional Comments From evilight at gmail dot com 2007-04-20 10:14 --- Created an attachment (id=1728) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1728&action=view) testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=4398 --- You are receiving th

[Bug ld/4398] relocation R_X86_64_PC32 against 'funcx'; recompile with -fPIC

2007-04-20 Thread evilight at gmail dot com
--- 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 -sha