소스 검색

+ 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);