Browse Source

Fix parsing error in GNU linker script, KEEP needs braces

git-svn-id: trunk@43197 -
pierre 5 years ago
parent
commit
9d765af693
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/t_linux.pas

+ 1 - 1
compiler/systems/t_linux.pas

@@ -1333,7 +1333,7 @@ begin
             add('  .rodata1        : { *(.rodata1) }');
             add('  .rodata1        : { *(.rodata1) }');
             add('  .eh_frame_hdr : { *(.eh_frame_hdr) }');
             add('  .eh_frame_hdr : { *(.eh_frame_hdr) }');
             add('  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }');
             add('  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }');
-            add('  .gcc_except_table   : { KEEP *(.gcc_except_table .gcc_except_table.*) }');
+            add('  .gcc_except_table   : { KEEP (*(.gcc_except_table .gcc_except_table.*)) }');
 
 
             {Adjust the address for the data segment.  We want to adjust up to
             {Adjust the address for the data segment.  We want to adjust up to
              the same address within the page on the next page up.}
              the same address within the page on the next page up.}