From d4c21cf13a867d349bc8f7e3daeb1d1188f6262d Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 11 Jan 2016 16:30:06 +0000 Subject: [PATCH] * also check for 386+ when emitting a reference with a fs: or gs: prefix git-svn-id: trunk@32926 - --- compiler/x86/aasmcpu.pas | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/x86/aasmcpu.pas b/compiler/x86/aasmcpu.pas index 7940a393a1..7721795504 100644 --- a/compiler/x86/aasmcpu.pas +++ b/compiler/x86/aasmcpu.pas @@ -1611,6 +1611,11 @@ implementation { Segment override } if (segprefix>=NR_ES) and (segprefix<=NR_GS) then begin +{$ifdef i8086} + if (current_settings.cputype