On 03 Oct 2014, at 06:25, Den wrote:

I'm working on an Cross Platform Project, and when compiling to Android-ARM and getting it onto the Android Device, in ADB Logcat it shows library has "Text Relocations", and that I should get rid of them and it's a security risk.. AFAIK I don't have any units that are compiled with PIC..

I guess you mean "without PIC"?

May I ask how to remove these text Relocations, and possibly a bit more information about them and why they're being included without PIC?

At first sight, the RTL startup code contains non-PIC assembly (rtl/ android/arm/prt0.as and rtl/android/arm/dllprt0.as)


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to