2007-07-10 Sandra Loosemore David Ung Nigel Stephens gcc/ Add target hooks invoked when starting RTL code generation for each function. * target-def.h (TARGET_PREPARE_FUNCTION_START): Define. (TARGET_END_OF_FILE_CLEANUP): Define (TARGET_INITIALIZER): Add entries for above symbols. * target.h (struct gcc_target): Add prepare_function_start and end_of_file_cleanup slots. * doc/tm.texi (TARGET_PREPARE_FUNCTION_START): Document. (TARGET_END_OF_FILE_CLEANUP): Likewise. * function.c (prepare_function_start): Invoke prepare_function_start target hook. * toplev.c (compile_file): Invoke end_of_file_cleanup target hook.