From 4d2d26c3183165ae27d2ced87d124f9d7bcc5f2c Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 7 Nov 2018 22:03:04 +0000 Subject: [PATCH] * define renamed into tls_threadvars git-svn-id: trunk@40274 - --- compiler/systems/i_bsd.pas | 4 ++-- compiler/systems/i_linux.pas | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/compiler/systems/i_bsd.pas b/compiler/systems/i_bsd.pas index 029b42135a..d14bf7fd2f 100644 --- a/compiler/systems/i_bsd.pas +++ b/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; diff --git a/compiler/systems/i_linux.pas b/compiler/systems/i_linux.pas index 14dc6016fb..ee788ec5b8 100644 --- a/compiler/systems/i_linux.pas +++ b/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;