[fpc-devel] Android "Text Relocations"
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Oct 3 09:38:52 CEST 2014
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
More information about the fpc-devel
mailing list