This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Marking the end of a function
On Fri, Sep 27, 2002 at 05:48:29PM +0100, Andrew Haley wrote:
> .word foo
> .word foo_end
>
> and both are put in a DSO, these will not be fixed up to point
> directly to the code but to PLT entries?
No, but they'll get runtime relocations. And a dynamic symbol
lookup, so they may point to symbols in a different DSO.
> I don't want to do it again for IA-64, mostly! In any case, is
> _Unwind_Find_FDE and the structures it uses public?
No, not really, since the data is in a different form for IA-64.
But it would be easy enough to add a function that returns the
beginning (and end?) of a function that contains a particular PC.
r~