瀏覽代碼

* Use vo_has_section to test for user name section in insertbssdata

git-svn-id: trunk@17899 -
pierre 14 年之前
父節點
當前提交
e6b5ce8557
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ncgutil.pas

+ 1 - 1
compiler/ncgutil.pas

@@ -2533,7 +2533,7 @@ implementation
             sectype:=sec_bss;
           end;
         maybe_new_object_file(list);
-        if sym.section<>'' then
+        if vo_has_section in sym.varoptions then
           new_section(list,sec_user,sym.section,varalign)
         else
           new_section(list,sectype,lower(sym.mangledname),varalign);