GP-2748 added calling convention for elf entry point

This commit is contained in:
James
2023-04-03 15:35:27 +00:00
parent c324e0cd48
commit 6258dd9eee
6 changed files with 140 additions and 27 deletions

View File

@@ -117,6 +117,24 @@
</killedbycall>
</prototype>
</default_proto>
<prototype name="processEntry" extrapop="0" stackshift="0">
<input pointermax="4">
<pentry minsize="1" maxsize="4">
<register name="r0"/>
</pentry>
<pentry minsize="1" maxsize="500" align="4">
<addr offset="0" space="stack"/>
</pentry>
</input>
<output killedbycall="true">
<pentry minsize="1" maxsize="4">
<register name="r0"/>
</pentry>
</output>
<unaffected>
<register name="sp"/>
</unaffected>
</prototype>
<callfixup name="switch8_r3">
<target name="switch8_r3"/>