Browse Source

+ parsing of @GOT on i386

git-svn-id: trunk@2117 -
florian 19 years ago
parent
commit
56616ea3ad
1 changed files with 5 additions and 0 deletions
  1. 5 0
      compiler/x86/rax86att.pas

+ 5 - 0
compiler/x86/rax86att.pas

@@ -378,7 +378,12 @@ Implementation
                       consume(AS_AT);
                       if actasmtoken=AS_ID then
                         begin
+{$ifdef x86_64}
                           if actasmpattern='GOTPCREL' then
+{$endif x86_64}
+{$ifdef i386}
+                          if actasmpattern='GOT' then
+{$endif i386}
                             oper.opr.ref.refaddr:=addr_pic
                           else
                             Message(asmr_e_invalid_reference_syntax);