浏览代码

Fix parsing error in GNU linker script, KEEP needs braces

git-svn-id: trunk@43197 -
pierre 5 年之前
父节点
当前提交
9d765af693
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/systems/t_linux.pas

+ 1 - 1
compiler/systems/t_linux.pas

@@ -1333,7 +1333,7 @@ begin
             add('  .rodata1        : { *(.rodata1) }');
             add('  .eh_frame_hdr : { *(.eh_frame_hdr) }');
             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
              the same address within the page on the next page up.}