Nikolaos Kavvadias <nkavv@xxxxxxxxxxxxxxx> writes: > I did some search and now believe that it can be done with the help of > these macros: > > TARGET_ASM_FUNCTION_PROLOGUE > TARGET_ASM_FUNCTION_EPILOGUE > > Usually these macros provide alternate names to functions that take > care of prologue code emission > (e.g. .frame, .mask directives) and should be the proper place for > adding the .ent (prior procedure entry) > and .end (after procedure exit, i.e. the return instruction(s)). > > Am I right, or is there something more in it? You are right, and you can see that the MIPS backend does exactly that. Ian