Browse Source

* fixed for darwin

git-svn-id: trunk@3413 -
Jonas Maebe 19 years ago
parent
commit
da3d22e11e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/aggas.pas

+ 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