Browse Source

* use .rodata directive on arm

git-svn-id: trunk@3632 -
florian 19 years ago
parent
commit
3a03aee386
1 changed files with 5 additions and 0 deletions
  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 }