Browse Source

* put jump tables in rodata

git-svn-id: trunk@2726 -
Jonas Maebe 19 years ago
parent
commit
dd03d5c997
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/powerpc/nppcset.pas

+ 1 - 1
compiler/powerpc/nppcset.pas

@@ -110,7 +110,7 @@ implementation
         exprasmlist.concat(taicpu.op_none(A_BCTR));
 
         { generate jump table }
-        new_section(current_procinfo.aktlocaldata,sec_data,current_procinfo.procdef.mangledname,sizeof(aint));
+        new_section(current_procinfo.aktlocaldata,sec_rodata,current_procinfo.procdef.mangledname,sizeof(aint));
         current_procinfo.aktlocaldata.concat(Tai_label.Create(table));
         last:=min_;
         genitem(current_procinfo.aktlocaldata,hp);