* put jump tables in rodata

git-svn-id: trunk@2726 -
This commit is contained in:
Jonas Maebe 2006-03-03 19:33:17 +00:00
parent ec486f0238
commit dd03d5c997

View File

@ -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);