x64-roadmap
x64-roadmap copied to clipboard
Position Independent Code
It is still unclear when/why sometimes gcc
complains about linking to our programs containing a .data
section. Sometimes it works. Last time I got the error:
/usr/bin/ld: bin/ret_words.o: relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status