浏览代码

* more @GOT parsing

git-svn-id: trunk@2125 -
florian 19 年之前
父节点
当前提交
bf5907dcdc
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      compiler/x86/rax86att.pas

+ 5 - 0
compiler/x86/rax86att.pas

@@ -513,7 +513,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}
                                     begin
                                       oper.opr.ref.refaddr:=addr_pic;
                                       consume(AS_ID);