Browse Source

* commented linker script generation for linux out, causes problems on some machines,
see bug #4317

git-svn-id: trunk@945 -

florian 20 years ago
parent
commit
1c9a8396b7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/systems/t_linux.pas

+ 3 - 0
compiler/systems/t_linux.pas

@@ -431,6 +431,8 @@ begin
   linkres.add('ENTRY(_start)');
   linkres.add('ENTRY(_start)');
 
 
   {Sections.}
   {Sections.}
+{
+  commented out because it cause problems on several machines with different ld versions (FK)
   linkres.add('SECTIONS');
   linkres.add('SECTIONS');
   linkres.add('{');
   linkres.add('{');
   {Read-only sections, merged into text segment:}
   {Read-only sections, merged into text segment:}
@@ -527,6 +529,7 @@ begin
   linkres.add('  .stab          0 : { *(.stab) }');
   linkres.add('  .stab          0 : { *(.stab) }');
   linkres.add('  .stabstr       0 : { *(.stabstr) }');
   linkres.add('  .stabstr       0 : { *(.stabstr) }');
   linkres.add('}');
   linkres.add('}');
+}
 
 
 { Write and Close response }
 { Write and Close response }
   LinkRes.writetodisk;
   LinkRes.writetodisk;