Use OLDBINUTILS conditional to disable assembler code unsupported by older GNU assmebler for x86_64.inc as in cpu.pp to allow use for openbsd for instance

git-svn-id: trunk@23355 -
This commit is contained in:
pierre 2013-01-10 16:19:07 +00:00
parent 3175f49e4f
commit c26ef20f30

View File

@ -62,7 +62,15 @@ end;
// multiple issues with its old GNU assembler (Mantis #19188).
// Even after fixing them, it can be enabled only for the trunk version,
// otherwise bootstrapping won't be possible.
{$ifndef freebsd}
// Modifed to use oldbinutils as in cpu.pp source, to allow easier use for other targets.
{$ifdef freebsd}
{$ifndef overridebinutils}
{$define oldbinutils}
{$endif}
{$endif freebsd}
{$ifndef oldbinutils}
{$ifndef FPC_SYSTEM_HAS_MOVE}
{$define FPC_SYSTEM_HAS_MOVE}