crti.S Nested procedures error
Have you tried this:
Quoted 8 lines
.globl _init .EXPORT _init,ENTRY .type _init,@function _init: .PROC .CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=3 .ENTRY a few assembly statements
.PROCEND
.PROC
.CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=3
Quoted 6 lines
/***** pre-main() code to be inserted here *******/ a few more assembly statements .EXIT .PROCEND
While you need to use .proc and .procend in pairs, that's not the case with .entry and .exit. If the assembler won't take this code, it should. Besides being useful for this case, it's also necessary to generate code like this for out-of-line pieces of procedures.
-cary