-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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? thanks Nikolaos Kavvadias > i'm not sure how (i.e. to which file in the gcc/gcc source tree) to > add specific pseudo-op (.dot) instructions at the entry and exit > of a procedure. These markers would be something like (when > compiling with -S option): > > .ent <procedure-name> <procedure-body> .end <procedure-name> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFFRi2qMPiy0tCWlz4RAntwAJoDtx/XoTsNtsBHi8XlqPyV50sGWwCgv8mC gomRgmjmASdMZxsoKUuNX1M= =KFEN -----END PGP SIGNATURE-----