Browse Source

* accept @PLT for pic functions

git-svn-id: trunk@14389 -
pierre 15 years ago
parent
commit
21bc57d4c1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/x86/rax86att.pas

+ 2 - 1
compiler/x86/rax86att.pas

@@ -278,7 +278,8 @@ Implementation
               if actasmtoken=AS_ID then
               if actasmtoken=AS_ID then
                 begin
                 begin
 {$ifdef x86_64}
 {$ifdef x86_64}
-                  if actasmpattern='GOTPCREL' then
+                  if (actasmpattern='GOTPCREL') or
+		     (actasmpattern='PLT') then
 {$endif x86_64}
 {$endif x86_64}
 {$ifdef i386}
 {$ifdef i386}
                   if actasmpattern='GOT' then
                   if actasmpattern='GOT' then