Browse Source

palmos: no .rodata section here either

git-svn-id: trunk@37898 -
Károly Balogh 7 years ago
parent
commit
ac127ac10a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/aggas.pas

+ 1 - 1
compiler/aggas.pas

@@ -354,7 +354,7 @@ implementation
           Thus, data which normally goes into .rodata and .rodata_norel sections must
           Thus, data which normally goes into .rodata and .rodata_norel sections must
           end up in .data section }
           end up in .data section }
         if (atype in [sec_rodata,sec_rodata_norel]) and
         if (atype in [sec_rodata,sec_rodata_norel]) and
-          (target_info.system=system_i386_go32v2) then
+          (target_info.system in [system_i386_go32v2,system_m68k_palmos]) then
           secname:='.data';
           secname:='.data';
 
 
         { Windows correctly handles reallocations in readonly sections }
         { Windows correctly handles reallocations in readonly sections }