[fpc-devel] Section smartlinking enabled for i386-linux

Peter Vreman peter at freepascal.org
Fri Sep 23 15:51:01 CEST 2005


For i386-linux smartlinking using sections is now enabled by default and
that -CX and -XX will do nothing.

Please report all issues on this mailing list.

If it doesn't work, disabling it locally can be done by reverting the
following patch.

~/fpc/compiler>>> svn diff -r 1165:1166 systems
Index: systems/i_linux.pas
===================================================================
--- systems/i_linux.pas (revision 1165)
+++ systems/i_linux.pas (revision 1166)
@@ -46,7 +46,7 @@
             system       : system_i386_LINUX;
             name         : 'Linux for i386';
             shortname    : 'Linux';
-            flags        :
[tf_needs_symbol_size,tf_pic_uses_got{,tf_smartlink_sections}];
+            flags        :
[tf_needs_symbol_size,tf_pic_uses_got,tf_smartlink_sections];
             cpu          : cpu_i386;
             unit_env     : 'LINUXUNITS';
             extradefines : 'UNIX;HASUNIX';





More information about the fpc-devel mailing list