mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 14:50:32 +02:00
* fixed code generation for calling threadvar relocation function
git-svn-id: trunk@1597 -
This commit is contained in:
parent
3645a69686
commit
10d39167c6
@ -167,7 +167,7 @@ implementation
|
|||||||
{ don't save the allocated register else the result will be destroyed later }
|
{ don't save the allocated register else the result will be destroyed later }
|
||||||
reference_reset_symbol(href,objectlibrary.newasmsymbol(tglobalvarsym(symtableentry).mangledname,AB_EXTERNAL,AT_DATA),0);
|
reference_reset_symbol(href,objectlibrary.newasmsymbol(tglobalvarsym(symtableentry).mangledname,AB_EXTERNAL,AT_DATA),0);
|
||||||
paramanager.allocparaloc(exprasmlist,paraloc1);
|
paramanager.allocparaloc(exprasmlist,paraloc1);
|
||||||
cg.a_param_ref(exprasmlist,OS_ADDR,href,paraloc1);
|
cg.a_param_ref(exprasmlist,OS_32,href,paraloc1);
|
||||||
paramanager.freeparaloc(exprasmlist,paraloc1);
|
paramanager.freeparaloc(exprasmlist,paraloc1);
|
||||||
paraloc1.done;
|
paraloc1.done;
|
||||||
cg.allocallcpuregisters(exprasmlist);
|
cg.allocallcpuregisters(exprasmlist);
|
||||||
|
Loading…
Reference in New Issue
Block a user