This is the mail archive of the
mailing list for the GCC project.
Re: Dynamically generated code and DWARF exception handling
Andrew Haley a écrit :
Richard Henderson writes:Well, I searched for those and found some usage examples in the source
of Apple Darwin gcc code for the startup. But then... is that current?
> On Tue, May 02, 2006 at 01:23:56PM +0200, jacob navia wrote:
> > Is there an equivalent API for linux?
> __register_frame_info_bases / __deregister_frame_info_bases.
Are these an exported API?
I metioned the existence of these entry points in a reply to Jacob on
March 10. Jacob, did you investigate this?
I have googled around but I find only small pieces of information that
may or may not apply to AMD64. ALL of this is extremely confusing and I
am getting scared really. This stuff costed me 2 weeks hard work under
windows, but somehow I had there an API that I could call. Under linux
the stuff is still as complex as in windows (DWARF info generation is
not easy) but what scares me is that there is NO API, no standard way of
I have downloaded gcc 4.1 and will try to figure out where in the source
I find those functions or where in the binutils source those functions
could be hidden.
Then, I will try to figure out from the source what they are doing and
what they expect. As far as I know, there is no AMD64 specific docs,
just ITANIUM docs that *could* be used for AMD64 but nobody knows for
sure if those docs apply or they are just obsolete.
What a mess people. I am getting wet pants...