tutorials for gcc devel ?
Perret Yannick
yperret@in2p3.fr
Tue Sep 7 17:18:00 GMT 2004
Hello again,
I downloaded the GCC manual in order to understand
how job is performed within gcc. I still not have read
everything, but it seems to be a good reference manual
but not so good for understanding how to make a precise
thing.
Does someone knows a tutorial for such things (i.e.
changing/adding things in gcc) ?
In fact for my purpose I managed to add my own calls
(ala instrument-functions) and I also manage to add
new parameters to the __cyg_profile_func_enter, but
only 'int' parameters.
I failed to create a valid 'rtx' filled with a constant
string in the treated function to be transmited to __cyg...
I saw the function 'assign_stack_local' which seems to
be what I need, but I failed to store data inside it and to
obtain its local address to be sent in the emit_library_call.
I also saw that it is possible to create 'tree' elements to
hold constant string (build_string function), but I failed
to transform it into a valid 'rtx' for the emit_library_call.
Some clues of the way to do that ?
Thanks.
Regards,
--
Yannick Perret
More information about the Gcc
mailing list