This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Reentering sections


On Fri, Sep 21, 2001 at 02:18:09PM +0200, Roman Lechtchinsky 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.  The reason that we do
that is that IA-64 has special assembler directives to emit EH
table info, like so:

	.proc foo
foo:
	[ code ]
	.handlerdata
	[ eh data ]
	.endp foo

where ".endp" is emitted by ASM_DECLARE_FUNCTION_SIZE in 
assemble_end_function.

It should be possible to rearrange this based on IA64_UNWIND_INFO.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]