Fwd: trees: function declaration

Jim Wilson wilson@specifix.com
Tue Feb 21 20:04:00 GMT 2006


george@georgeshagov.com wrote:
> I need some kind of assistance. I am trying to substitute function name during
> the compilation procedure.

The only way to tell what is wrong is to debug the patch.  And since it 
is your patch, you are the one that should be trying to debug it.

Try setting breakpoints at every place that calls 
SET_DECL_ASSEMBLER_NAME.  Perhaps someone is calling it after you are.

Try looking at the implementation of the _asm_ extension, which provides 
the same feature, i.e. changing the assembler name of a function.  See 
the set_user_assembler_name function in varasm.c.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com



More information about the Gcc mailing list