Browse Source

* don't strip aname for resources

git-svn-id: trunk@1199 -
florian 20 năm trước cách đây
mục cha
commit
b1568fed2a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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];