[PATCH] EH-compatible -ffunction-sections

Geoffrey Keating geoffk@apple.com
Wed Aug 16 20:25:00 GMT 2006


Hi Eric,

> 2006-03-20  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* except.h (output_function_exception_table): Add 'const char*'  
> param.
> 	* except.c (switch_to_exception_section): Add 'const char*' param.
> 	If named sections are supported and HAVE_LD_EH_GC_SECTIONS is defined
> 	and flag_function_sections is set, use a function-specific section.
> 	(output_function_exception_table): Add 'const char*' param.
> 	Adjust call to switch_to_exception_section.
> 	* final.c (rest_of_handle_final): Adjust calls to
> 	output_function_exception_table.
> 	* configure.ac (HAVE_LD_EH_GC_SECTIONS): New check.
> 	* config.in: Regenerate.
> 	* configure: Likewise.

This patch is OK.  It's probably not suitable for 4.2, though.

:REVIEWMAIL:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2462 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060816/57f02bb2/attachment.p7s>


More information about the Gcc-patches mailing list