Explorar o código

Added comment for 11257

git-svn-id: trunk@11259 -
giulio %!s(int64=17) %!d(string=hai) anos
pai
achega
95ce7840bc
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      compiler/aggas.pas

+ 3 - 0
compiler/aggas.pas

@@ -317,6 +317,9 @@ implementation
           (target_info.system=system_i386_win32) then
           secname:='.tls';
 
+        { go32v2 stub only loads .text and .data sections, and allocates space for .bss.
+          Thus, data which normally goes into .rodata and .rodata_norel sections must 
+          end up in .data section }
         if (atype in [sec_rodata,sec_rodata_norel]) and
           (target_info.system=system_i386_go32v2) then
           secname:='.data';