瀏覽代碼

* use .rodata directive on arm

git-svn-id: trunk@3632 -
florian 19 年之前
父節點
當前提交
3a03aee386
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      compiler/aggas.pas

+ 5 - 0
compiler/aggas.pas

@@ -235,8 +235,13 @@ implementation
         secnames : array[TAsmSectiontype] of string[17] = ('',
           '.text',
           '.data',
+{ why doesn't .rodata work? (FK) }
 {$warning TODO .rodata not yet working}
+{$ifdef arm}
+          '.rodata',
+{$else arm}
           '.data',
+{$endif arm}
           '.bss',
           '.threadvar',
           '', { stubs }