Forráskód Böngészése

* disable generation of smartlinkable code for Darwin for now since
the result doesn't work yet due to a bug in Apple's linker

git-svn-id: trunk@5719 -

Jonas Maebe 18 éve
szülő
commit
f56d53c0e1
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      compiler/aggas.pas

+ 4 - 0
compiler/aggas.pas

@@ -1068,9 +1068,13 @@ implementation
           AsmWriteLn(target_asm.comment+'End asmlist '+AsmlistTypeStr[hal]);
           AsmWriteLn(target_asm.comment+'End asmlist '+AsmlistTypeStr[hal]);
         end;
         end;
 
 
+{
+      Result doesn't work properly yet due to a bug in Apple's linker
+
       if (cs_create_smart in current_settings.moduleswitches) and
       if (cs_create_smart in current_settings.moduleswitches) and
          (target_info.system in [system_powerpc_darwin,system_i386_darwin]) then
          (target_info.system in [system_powerpc_darwin,system_i386_darwin]) then
         AsmWriteLn(#9'.subsections_via_symbols');
         AsmWriteLn(#9'.subsections_via_symbols');
+}
 
 
       AsmLn;
       AsmLn;
 {$ifdef EXTDEBUG}
 {$ifdef EXTDEBUG}