Browse Source

* don't strip aname for resources

git-svn-id: trunk@1199 -
florian 20 years ago
parent
commit
b1568fed2a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/aggas.pas

+ 2 - 2
compiler/aggas.pas

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