ソースを参照

* define renamed into tls_threadvars

git-svn-id: trunk@40274 -
florian 6 年 前
コミット
4d2d26c318
2 ファイル変更8 行追加5 行削除
  1. 2 2
      compiler/systems/i_bsd.pas
  2. 6 3
      compiler/systems/i_linux.pas

+ 2 - 2
compiler/systems/i_bsd.pas

@@ -60,9 +60,9 @@ unit i_bsd;
             name         : 'FreeBSD/ELF for i386';
             shortname    : 'FreeBSD';
             flags        : [tf_pic_uses_got,tf_files_case_sensitive,
-{$ifdef segment_threadvars}
+{$ifdef tls_threadvars}
                             tf_section_threadvars,
-{$endif segment_threadvars}
+{$endif tls_threadvars}
                             tf_needs_symbol_type,tf_needs_symbol_size
                             ,tf_smartlink_sections,tf_has_winlike_resources];
             cpu          : cpu_i386;

+ 6 - 3
compiler/systems/i_linux.pas

@@ -35,9 +35,9 @@ unit i_linux;
             name         : 'Linux for i386';
             shortname    : 'Linux';
             flags        : [tf_needs_symbol_size,tf_pic_uses_got,tf_smartlink_sections{,tf_winlikewidestring},
-{$ifdef segment_threadvars}
+{$ifdef tls_threadvars}
                             tf_section_threadvars,
-{$endif segment_threadvars}
+{$endif tls_threadvars}
                             tf_needs_symbol_type,tf_files_case_sensitive,
                             tf_needs_dwarf_cfi,tf_has_winlike_resources,
                             tf_safecall_exceptions, tf_safecall_clearstack];
@@ -589,7 +589,10 @@ unit i_linux;
             name         : 'Linux for ARMHF';
             shortname    : 'Linux';
             flags        : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
-                            tf_requires_proper_alignment,tf_section_threadvars,
+                            tf_requires_proper_alignment,
+{$ifdef tls_threadvars}
+                            tf_section_threadvars,
+{$endif tls_threadvars}
                             tf_smartlink_sections,tf_pic_uses_got,
                             tf_has_winlike_resources];
             cpu          : cpu_arm;