2
0
Эх сурвалжийг харах

* fixed for darwin

git-svn-id: trunk@3413 -
Jonas Maebe 19 жил өмнө
parent
commit
da3d22e11e

+ 2 - 1
compiler/aggas.pas

@@ -279,7 +279,8 @@ implementation
         { For bss we need to set some flags that are target dependent,
         { For bss we need to set some flags that are target dependent,
           it is easier to disable it for smartlinking. It doesn't take up
           it is easier to disable it for smartlinking. It doesn't take up
           filespace }
           filespace }
-        if use_smartlink_section and
+        if not(target_info.system in [system_powerpc_darwin,system_i386_darwin]) and
+           use_smartlink_section and
            (aname<>'') and
            (aname<>'') and
            (atype<>sec_bss) then
            (atype<>sec_bss) then
           result:=secname+'.'+aname
           result:=secname+'.'+aname