浏览代码

+ parsing of @GOT on i386

git-svn-id: trunk@2117 -
florian 19 年之前
父节点
当前提交
56616ea3ad
共有 1 个文件被更改,包括 5 次插入0 次删除
  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);