mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 10:49:17 +02:00
* put jump tables in rodata
git-svn-id: trunk@2726 -
This commit is contained in:
parent
ec486f0238
commit
dd03d5c997
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user