mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 04:48:07 +02:00
* not all targets support the tls-model switch, use it only if section thread vars are used
git-svn-id: trunk@40680 -
This commit is contained in:
parent
ce81e50907
commit
9c03c29856
@ -101,7 +101,9 @@ unit agarmgas;
|
||||
|
||||
function TArmGNUAssembler.MakeCmdLine: TCmdStr;
|
||||
begin
|
||||
result:='-mtls-dialect=gnu '+inherited MakeCmdLine;
|
||||
result:=inherited MakeCmdLine;
|
||||
if tf_section_threadvars in target_info.flags then
|
||||
result:='-mtls-dialect=gnu '+result;
|
||||
if (current_settings.fputype = fpu_soft) then
|
||||
result:='-mfpu=softvfp '+result;
|
||||
if (current_settings.fputype = fpu_vfpv2) then
|
||||
|
Loading…
Reference in New Issue
Block a user