mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* Use .rodata section for Android.
git-svn-id: trunk@35553 -
This commit is contained in:
parent
3bedccf946
commit
d139868dc4
@ -362,6 +362,10 @@ implementation
|
||||
(target_info.system in systems_all_windows+systems_nativent-[system_i8086_win16]) then
|
||||
secname:='.rodata';
|
||||
|
||||
{ Use .rodata for Android }
|
||||
if (target_info.system in systems_android) and (atype in [sec_rodata,sec_rodata_norel]) then
|
||||
secname:='.rodata';
|
||||
|
||||
{ section type user gives the user full controll on the section name }
|
||||
if atype=sec_user then
|
||||
secname:=aname;
|
||||
|
Loading…
Reference in New Issue
Block a user