This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Reentering sections
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: Reentering sections
- From: Roman Lechtchinsky <rl at cs dot tu-berlin dot de>
- Date: Wed, 26 Sep 2001 14:09:16 +0200 (MET DST)
- cc: gcc at gcc dot gnu dot org
On Fri, 21 Sep 2001, Richard Henderson wrote:
> > Is this behavior actually necessary (the entire function body is
> > output before output_function_exception_table is called, AFAICS) or is the
> > call to function_section bogus?
>
> As currently configured, we have yet to do assemble_end_function,
> which does need to be in function_section.
> [...]
> It should be possible to rearrange this based on IA64_UNWIND_INFO.
Yep, there is one more problem, though. (*debug_hooks->function_decl) is
called after output_function_exception_table, but it needs to be in the
function section. Can it be output directly after assemle_end_function,
i.e. before the exception table on non-IA64_UNWIND_INFO architectures?
Bye
Roman