소스 검색

* put jump tables in rodata

git-svn-id: trunk@2726 -
Jonas Maebe 19 년 전
부모
커밋
dd03d5c997
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);