Browse Source

* more @GOT parsing

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

+ 5 - 0
compiler/x86/rax86att.pas

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