Browse Source

psub.pas, read_proc:
* don't generate assembler symbols for compiler internal code

git-svn-id: branches/svenbarth/packages@28793 -

svenbarth 11 years ago
parent
commit
2cac69da9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/psub.pas

+ 1 - 1
compiler/psub.pas

@@ -2119,7 +2119,7 @@ implementation
          { treated as references to external symbols, needed for darwin.   }
 
          { make sure we don't change the binding of real external symbols }
-         if not(po_external in pd.procoptions) then
+         if not(po_external in pd.procoptions) and (pocall_internproc<>pd.proccalloption)  then
            begin
              if (po_global in pd.procoptions) or
                 (cs_profile in current_settings.moduleswitches) then