浏览代码

* don't strip aname for resources

git-svn-id: trunk@1199 -
florian 20 年之前
父节点
当前提交
b1568fed2a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/aggas.pas

+ 2 - 2
compiler/aggas.pas

@@ -205,8 +205,8 @@ implementation
           'fpc'
         );
       begin
-        if use_smartlink_section and
-           (aname<>'') then
+        if (use_smartlink_section and
+           (aname<>'')) or (atype=sec_fpc) then
           result:=secnames[atype]+'.'+aname
         else
           result:=secnames[atype];