Explorar o código

* fixed x86_64 and non-darwin i386 GOT/GOTPCREL parsing after r9366
(I put that code in a separate method because it appeared in two
places, but in one of the two places it was buggy and apparently
never triggered, and I copied that part...)

git-svn-id: trunk@9379 -

Jonas Maebe %!s(int64=17) %!d(string=hai) anos
pai
achega
95f00eb633
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      compiler/x86/rax86att.pas

+ 4 - 1
compiler/x86/rax86att.pas

@@ -283,7 +283,10 @@ Implementation
 {$ifdef i386}
                   if actasmpattern='GOT' then
 {$endif i386}
-                    oper.opr.ref.refaddr:=addr_pic
+                    begin
+                      oper.opr.ref.refaddr:=addr_pic;
+                      consume(AS_ID);
+                    end
                   else
                     Message(asmr_e_invalid_reference_syntax);
                 end