[Patch] Fix anonymous code atoms problem on Darwin.
Richard Henderson
rth@redhat.com
Mon Dec 20 21:49:00 GMT 2010
On 12/20/2010 03:07 AM, IainS wrote:
> * target.def (function_switched_text_sections): New Hook.
> * doc/tm.texi Regenerated.
> * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS)
> New.
> * final.c (default_function_switched_text_sections): New.
> (final_scan_insn): Call function_switched_text_sections when a mid-function section
> change occurs.
> * output.h (default_function_switched_text_sections): Declare.
> * config/darwin-protos.h (darwin_function_switched_text_sections) : Likewise.
> * config/darwin.c (darwin_function_switched_text_sections): New.
> * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS)
> New.
Ok by me, assuming Mike is ok with it.
r~
More information about the Gcc-patches
mailing list