Explorar el Código

* binary writer must take care of resource sections as well

git-svn-id: trunk@1200 -
florian hace 20 años
padre
commit
43cf42b3b6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      compiler/ogelf.pas

+ 2 - 2
compiler/ogelf.pas

@@ -360,8 +360,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];