From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1738 invoked by alias); 14 Jun 2011 17:09:32 -0000 Received: (qmail 1730 invoked by uid 22791); 14 Jun 2011 17:09:29 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jun 2011 17:09:08 +0000 Received: from kpbe11.cbf.corp.google.com (kpbe11.cbf.corp.google.com [172.25.105.75]) by smtp-out.google.com with ESMTP id p5EH96Zh008210 for ; Tue, 14 Jun 2011 10:09:06 -0700 Received: from yxt33 (yxt33.prod.google.com [10.190.5.225]) by kpbe11.cbf.corp.google.com with ESMTP id p5EH948n008532 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 14 Jun 2011 10:09:04 -0700 Received: by yxt33 with SMTP id 33so1222759yxt.3 for ; Tue, 14 Jun 2011 10:09:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.13.15 with SMTP id 15mr8026709ybm.103.1308071343948; Tue, 14 Jun 2011 10:09:03 -0700 (PDT) Received: by 10.151.39.12 with HTTP; Tue, 14 Jun 2011 10:09:03 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Jun 2011 17:33:00 -0000 Message-ID: Subject: Re: Move option-related hooks to common structure From: Ian Lance Taylor To: "Joseph S. Myers" Cc: gcc-patches , ian@airs.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01083.txt.bz2 On Fri, May 27, 2011 at 9:13 AM, Joseph S. Myers wrote: > > 2011-05-27 =A0Joseph Myers =A0 > > =A0 =A0 =A0 =A0* target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to > =A0 =A0 =A0 =A0common/common-target-def.h. > =A0 =A0 =A0 =A0* target.def (default_target_flags, handle_option, > =A0 =A0 =A0 =A0supports_split_stack, optimization_table, init_struct, > =A0 =A0 =A0 =A0except_unwind_info, unwind_tables_default, have_named_sect= ions): > =A0 =A0 =A0 =A0Move to common/common-target.def. > =A0 =A0 =A0 =A0* target.h (enum opt_levels, struct default_options): Move= to > =A0 =A0 =A0 =A0common/common-target.h. > =A0 =A0 =A0 =A0* targhooks.c (default_except_unwind_info, > =A0 =A0 =A0 =A0dwarf2_except_unwind_info, sjlj_except_unwind_info, > =A0 =A0 =A0 =A0default_target_handle_option, empty_optimization_table): M= ove to > =A0 =A0 =A0 =A0common/common-targhooks.c. > =A0 =A0 =A0 =A0* targhooks.h (default_except_unwind_info, > =A0 =A0 =A0 =A0dwarf2_except_unwind_info, sjlj_except_unwind_info, > =A0 =A0 =A0 =A0default_target_handle_option, empty_optimization_table): M= ove to > =A0 =A0 =A0 =A0common/common-targhooks.h. > =A0 =A0 =A0 =A0* common/common-target-def.h: Include common/common-targho= oks.h. > =A0 =A0 =A0 =A0(TARGET_HAVE_NAMED_SECTIONS): Define if TARGET_ASM_NAMED_S= ECTION > =A0 =A0 =A0 =A0defined. > =A0 =A0 =A0 =A0* common/common-target.def (handle_option, option_init_str= uct, > =A0 =A0 =A0 =A0option_optimization_table, default_target_flags, > =A0 =A0 =A0 =A0except_unwind_info, supports_split_stack, unwind_tables_de= fault, > =A0 =A0 =A0 =A0have_named_sections): Move from target.def. > =A0 =A0 =A0 =A0(HOOK_PREFIX): Undefine at end of file. > =A0 =A0 =A0 =A0* common/common-target.h: Include input.h. > =A0 =A0 =A0 =A0(enum opt_levels, struct default_options): Move from targe= t.h. > =A0 =A0 =A0 =A0* common/common-targhooks.c, common/common-targhooks.h: Ne= w. > =A0 =A0 =A0 =A0* config.gcc (target_has_targetm_common): Default to yes. > =A0 =A0 =A0 =A0(moxie*): Set target_has_targetm_common=3Dno. > =A0 =A0 =A0 =A0(hppa*-*-*): Don't set target_has_targetm_common=3Dyes. > =A0 =A0 =A0 =A0* doc/tm.texi: Regenerate. > =A0 =A0 =A0 =A0* Makefile.in (COMMON_TARGET_H): Add $(INPUT_H). > =A0 =A0 =A0 =A0(C_TARGET_DEF_H): Add common/common-targhooks.h. > =A0 =A0 =A0 =A0(GCC_OBJS): Remove vec.o. > =A0 =A0 =A0 =A0(OBJS): Remove hooks.o and vec.o. > =A0 =A0 =A0 =A0(OBJS-libcommon-target): Add vec.o, hooks.o and > =A0 =A0 =A0 =A0common/common-targhooks.o. > =A0 =A0 =A0 =A0(c-family/c-common.o, c-family/c-cppbuiltin.o, lto-opts.o,= tree.o, > =A0 =A0 =A0 =A0tree-tailcall.o, opts.o, toplev.o, varasm.o, function.o, e= xcept.o, > =A0 =A0 =A0 =A0expr.o, explow.o, dbxout.o, dwarf2out.o, cfgrtl.o, haifa-s= ched.o, > =A0 =A0 =A0 =A0cfglayout.o, $(out_object_file), $(common_out_object_file)= ): > =A0 =A0 =A0 =A0Update dependencies. > =A0 =A0 =A0 =A0(common/common-targhooks.o): New. > =A0 =A0 =A0 =A0* common/config/default-common.c: Include tm.h. =A0Add FIX= ME > =A0 =A0 =A0 =A0comment. > =A0 =A0 =A0 =A0* common/config/pa/pa-common.c: Include more headers. =A0T= ake > =A0 =A0 =A0 =A0copyright dates from pa.c. > =A0 =A0 =A0 =A0(pa_option_optimization_table, pa_handle_option, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FL= AGS, > =A0 =A0 =A0 =A0TARGET_HANDLE_OPTION): Move from pa.c. > =A0 =A0 =A0 =A0* common/config/alpha/alpha-common.c, > =A0 =A0 =A0 =A0common/config/arm/arm-common.c, common/config/avr/avr-comm= on.c, > =A0 =A0 =A0 =A0common/config/bfin/bfin-common.c, > =A0 =A0 =A0 =A0common/config/cris/cris-common.c, > =A0 =A0 =A0 =A0common/config/fr30/fr30-common.c, common/config/frv/frv-co= mmon.c, > =A0 =A0 =A0 =A0common/config/h8300/h8300-common.c, > =A0 =A0 =A0 =A0common/config/i386/i386-common.c, > =A0 =A0 =A0 =A0common/config/ia64/ia64-common.c, > =A0 =A0 =A0 =A0common/config/iq2000/iq2000-common.c, > =A0 =A0 =A0 =A0common/config/lm32/lm32-common.c, > =A0 =A0 =A0 =A0common/config/m32c/m32c-common.c, > =A0 =A0 =A0 =A0common/config/m32r/m32r-common.c, > =A0 =A0 =A0 =A0common/config/m68k/m68k-common.c, > =A0 =A0 =A0 =A0common/config/mcore/mcore-common.c, > =A0 =A0 =A0 =A0common/config/mep/mep-common.c, > =A0 =A0 =A0 =A0common/config/microblaze/microblaze-common.c, > =A0 =A0 =A0 =A0common/config/mips/mips-common.c, > =A0 =A0 =A0 =A0common/config/mmix/mmix-common.c, > =A0 =A0 =A0 =A0common/config/mn10300/mn10300-common.c, > =A0 =A0 =A0 =A0common/config/pdp11/pdp11-common.c, > =A0 =A0 =A0 =A0common/config/picochip/picochip-common.c, > =A0 =A0 =A0 =A0common/config/rs6000/rs6000-common.c, > =A0 =A0 =A0 =A0common/config/rx/rx-common.c, common/config/s390/s390-comm= on.c, > =A0 =A0 =A0 =A0common/config/score/score-common.c, common/config/sh/sh-co= mmon.c, > =A0 =A0 =A0 =A0common/config/sparc/sparc-common.c, > =A0 =A0 =A0 =A0common/config/spu/spu-common.c, common/config/v850/v850-co= mmon.c, > =A0 =A0 =A0 =A0common/config/vax/vax-common.c, > =A0 =A0 =A0 =A0common/config/xstormy16/xstormy16-common.c, > =A0 =A0 =A0 =A0common/config/xtensa/xtensa-common.c: New. > =A0 =A0 =A0 =A0* config/alpha/alpha.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(alpha_option_optimization_table, alpha_handle_option, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE): Move to alpha-common.c. > =A0 =A0 =A0 =A0* config/arm/arm-protos.h (arm_except_unwind_info): Declar= e. > =A0 =A0 =A0 =A0* config/arm/arm.c (arm_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TA= BLE, > =A0 =A0 =A0 =A0TARGET_EXCEPT_UNWIND_INFO, arm_except_unwind_info): Move to > =A0 =A0 =A0 =A0arm-common.c. > =A0 =A0 =A0 =A0* config/avr/avr.c (avr_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INF= O): Move > =A0 =A0 =A0 =A0to avr-common.c. > =A0 =A0 =A0 =A0* config/bfin/bfin.c (struct bfin_cpu): Move to bfin.h. > =A0 =A0 =A0 =A0(bfin_cpus, bfin_handle_option, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS): Move to bfin-common.c. > =A0 =A0 =A0 =A0* config/bfin/bfin.h struct bfin_cpu): Move from bfin.c. > =A0 =A0 =A0 =A0* config/cris/cris.c (cris_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, cris_handle_option): Mov= e to > =A0 =A0 =A0 =A0cris-common.c. > =A0 =A0 =A0 =A0* config/fr30/fr30.c (fr30_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_EXCEPT_UNWIND_INFO, TARGET_OPTION_OPTIMIZATION_TABL= E): Move > =A0 =A0 =A0 =A0to fr30-common.c. > =A0 =A0 =A0 =A0* config/frv/frv.c (frv_option_optimization_table, > =A0 =A0 =A0 =A0MASK_DEFAULT_ALLOC_CC, TARGET_DEFAULT_TARGET_FLAGS, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE): Move to frv-common.c. > =A0 =A0 =A0 =A0* config/h8300/h8300.c (h8300_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TA= BLE, > =A0 =A0 =A0 =A0TARGET_EXCEPT_UNWIND_INFO): Move to h8300-common.c. > =A0 =A0 =A0 =A0* config/i386/i386-protos.h (ix86_handle_option): Declare. > =A0 =A0 =A0 =A0* config/i386/i386.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(OPTION_MASK_ISA_MMX_SET, OPTION_MASK_ISA_3DNOW_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSE_SET, OPTION_MASK_ISA_SSE2_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSE3_SET, OPTION_MASK_ISA_SSSE3_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSE4_1_SET, OPTION_MASK_ISA_SSE4_2_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_AVX_SET, OPTION_MASK_ISA_FMA_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSE4_SET, OPTION_MASK_ISA_SSE4A_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_FMA4_SET, OPTION_MASK_ISA_XOP_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_LWP_SET, OPTION_MASK_ISA_AES_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_PCLMUL_SET, OPTION_MASK_ISA_ABM_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_BMI_SET, OPTION_MASK_ISA_TBM_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_POPCNT_SET, OPTION_MASK_ISA_CX16_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SAHF_SET, OPTION_MASK_ISA_MOVBE_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_CRC32_SET, OPTION_MASK_ISA_FSGSBASE_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_RDRND_SET, OPTION_MASK_ISA_F16C_SET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_MMX_UNSET, OPTION_MASK_ISA_3DNOW_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_3DNOW_A_UNSET, OPTION_MASK_ISA_SSE_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSE2_UNSET, OPTION_MASK_ISA_SSE3_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSSE3_UNSET, OPTION_MASK_ISA_SSE4_1_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSE4_2_UNSET, OPTION_MASK_ISA_AVX_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_FMA_UNSET, OPTION_MASK_ISA_SSE4_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_SSE4A_UNSET, OPTION_MASK_ISA_FMA4_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_XOP_UNSET, OPTION_MASK_ISA_LWP_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_AES_UNSET, OPTION_MASK_ISA_PCLMUL_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_ABM_UNSET, OPTION_MASK_ISA_BMI_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_TBM_UNSET, OPTION_MASK_ISA_POPCNT_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_CX16_UNSET, OPTION_MASK_ISA_SAHF_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_CRC32_UNSET, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_FSGSBASE_UNSET, OPTION_MASK_ISA_RDRND_UNSE= T, > =A0 =A0 =A0 =A0OPTION_MASK_ISA_F16C_UNSET, ix86_handle_option, > =A0 =A0 =A0 =A0ix86_option_optimization_table, ix86_option_init_struct, > =A0 =A0 =A0 =A0ix86_supports_split_stack, TARGET_DEFAULT_TARGET_FLAGS, > =A0 =A0 =A0 =A0TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, > =A0 =A0 =A0 =A0TARGET_OPTION_INIT_STRUCT, TARGET_SUPPORTS_SPLIT_STACK): M= ove to > =A0 =A0 =A0 =A0i386-common.c. > =A0 =A0 =A0 =A0* config/i386/t-i386 (i386.o): Update dependencies. > =A0 =A0 =A0 =A0* config/ia64/ia64-protos.h (ia64_except_unwind_info): Dec= lare. > =A0 =A0 =A0 =A0* config/ia64/ia64.c (ia64_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INF= O, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0ia64_handle_option): Move to ia64-common.c. > =A0 =A0 =A0 =A0* config/iq2000/iq2000.c (iq2000_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE): Move to iq2000-common.c. > =A0 =A0 =A0 =A0* config/lm32/lm32.c (lm32_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INF= O): Move > =A0 =A0 =A0 =A0to lm32-common.c. > =A0 =A0 =A0 =A0* config/m32c/m32c.c (TARGET_HAVE_NAMED_SECTIONS): Move to > =A0 =A0 =A0 =A0m32c-common.c. > =A0 =A0 =A0 =A0* config/m32r/m32r.c (m32r_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INF= O, > =A0 =A0 =A0 =A0m32r_handle_option): Move to m32r-common.c. > =A0 =A0 =A0 =A0(m32r_memory_move_cost): Remove comment referring to > =A0 =A0 =A0 =A0TARGET_HANDLE_OPTION. > =A0 =A0 =A0 =A0* config/m68k/m68k.c (TARGET_HANDLE_OPTION, m68k_handle_op= tion): > =A0 =A0 =A0 =A0Move to m68k-common.c. > =A0 =A0 =A0 =A0* config/mcore/mcore.c (mcore_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TA= BLE, > =A0 =A0 =A0 =A0TARGET_EXCEPT_UNWIND_INFO): Move to mcore-common.c. > =A0 =A0 =A0 =A0* config/mep/mep.c (mep_option_optimization_table, > =A0 =A0 =A0 =A0mep_handle_option, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FL= AGS): > =A0 =A0 =A0 =A0Move to mep-common.c. > =A0 =A0 =A0 =A0* config/microblaze/microblaze.c > =A0 =A0 =A0 =A0(microblaze_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TA= BLE, > =A0 =A0 =A0 =A0TARGET_EXCEPT_UNWIND_INFO): Move to microblaze-common.c. > =A0 =A0 =A0 =A0* config/mips/mips.c (mips_handle_option, > =A0 =A0 =A0 =A0mips_option_optimization_table, TARGET_OPTION_OPTIMIZATION= _TABLE, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Move to > =A0 =A0 =A0 =A0mips-common.c. > =A0 =A0 =A0 =A0* config/mmix/mmix.c (mmix_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TA= BLE): > =A0 =A0 =A0 =A0Move to mmix-common.c. > =A0 =A0 =A0 =A0* config/mn10300/mn10300.c (mn10300_option_optimization_ta= ble, > =A0 =A0 =A0 =A0mn10300_handle_option, TARGET_EXCEPT_UNWIND_INFO, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE): Move to mn10300-common.= c. > =A0 =A0 =A0 =A0* config/pa/pa.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(pa_option_optimization_table, TARGET_OPTION_OPTIMIZATION_= TABLE, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0pa_handle_option): Move to pa-common.c. > =A0 =A0 =A0 =A0(pa_option_override): Use targetm_common.except_unwind_inf= o. > =A0 =A0 =A0 =A0(pa_asm_output_mi_thunk, pa_function_section): Use > =A0 =A0 =A0 =A0targetm_common.have_named_sections. > =A0 =A0 =A0 =A0* config/pdp11/pdp11.c (pdp11_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUC= T, > =A0 =A0 =A0 =A0pdp11_handle_option, pdp11_option_init_struct): Move to > =A0 =A0 =A0 =A0pdp11-common.c. > =A0 =A0 =A0 =A0* config/picochip/picochip.c (picochip_option_optimization= _table, > =A0 =A0 =A0 =A0TARGET_HAVE_NAMED_SECTIONS, TARGET_OPTION_OPTIMIZATION_TAB= LE, > =A0 =A0 =A0 =A0TARGET_EXCEPT_UNWIND_INFO): Move to picochip-common.c. > =A0 =A0 =A0 =A0* config/rs6000/rs6000.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(rs6000_option_optimization_table, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_INIT_STRUCT, TARGET_OPTION_OPTIMIZATION_TABL= E, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, rs6000_option_init_struct, > =A0 =A0 =A0 =A0rs6000_handle_option): Move to rs6000-common.c. > =A0 =A0 =A0 =A0* config/rs6000/t-rs6000 (rs6000.o): Update dependencies. > =A0 =A0 =A0 =A0* config/rx/rx.c (rx_handle_option, rx_option_optimization= _table, > =A0 =A0 =A0 =A0TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, > =A0 =A0 =A0 =A0TARGET_EXCEPT_UNWIND_INFO): Move to rx-common.c. > =A0 =A0 =A0 =A0* config/s390/s390.c (processor_flags_table, > =A0 =A0 =A0 =A0s390_option_optimization_table, s390_option_init_struct, > =A0 =A0 =A0 =A0s390_handle_option, TARGET_DEFAULT_TARGET_FLAGS, > =A0 =A0 =A0 =A0TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, > =A0 =A0 =A0 =A0TARGET_OPTION_INIT_STRUCT): Move to s390-common.c. > =A0 =A0 =A0 =A0* config/s390/s390.h (processor_flags_table): Declare. > =A0 =A0 =A0 =A0* config/score/score.c (score_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, MASK_ALL_CPU_BITS, > =A0 =A0 =A0 =A0score_handle_option): Move to score-common.c. > =A0 =A0 =A0 =A0* config/sh/sh.c (sh_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUC= T, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, > =A0 =A0 =A0 =A0sh_handle_option, sh_option_init_struct): Move to sh-commo= n.c. > =A0 =A0 =A0 =A0* config/sparc/sparc.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(sparc_option_optimization_table, TARGET_DEFAULT_TARGET_FL= AGS, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE): Move to sparc-common.c. > =A0 =A0 =A0 =A0* config/spu/spu.c (TARGET_DEFAULT_TARGET_FLAGS, > =A0 =A0 =A0 =A0TARGET_OPTION_INIT_STRUCT, TARGET_EXCEPT_UNWIND_INFO, > =A0 =A0 =A0 =A0spu_option_init_struct): Move to spu-common.c. > =A0 =A0 =A0 =A0* config/stormy16/stormy16.c (xstorym16_option_optimizatio= n_table, > =A0 =A0 =A0 =A0TARGET_OPTION_OPTIMIZATION_TABLE): Move to xstormy16-commo= n.c. > =A0 =A0 =A0 =A0* config/v850/v850.c (small_memory_physical_max, > =A0 =A0 =A0 =A0v850_handle_memory_optionn v850_handle_option, > =A0 =A0 =A0 =A0v850_option_optimization_table, TARGET_DEFAULT_TARGET_FLAG= S, > =A0 =A0 =A0 =A0TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE): M= ove to > =A0 =A0 =A0 =A0v850-common.c. > =A0 =A0 =A0 =A0* config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Move to > =A0 =A0 =A0 =A0vax-common.c. > =A0 =A0 =A0 =A0* config/xtensa/xtensa.c (xtensa_option_optimization_table, > =A0 =A0 =A0 =A0TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TA= BLE): > =A0 =A0 =A0 =A0Move to xtensa-common.c. > =A0 =A0 =A0 =A0* cfglayout.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(fixup_reorder_chain): Use targetm_common.have_named_secti= ons. > =A0 =A0 =A0 =A0* cfgrtl.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(force_nonfallthru_and_redirect, commit_one_edge_insertion= ): Use > =A0 =A0 =A0 =A0targetm_common.have_named_sections. > =A0 =A0 =A0 =A0* dbxout.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(dbxout_function_end): Use targetm_common.have_named_secti= ons. > =A0 =A0 =A0 =A0* defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT= ): Use > =A0 =A0 =A0 =A0targetm_common.except_unwind_info. > =A0 =A0 =A0 =A0* dwarf2out.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(dwarf2out_do_frame, dwarf2out_do_cfi_asm, > =A0 =A0 =A0 =A0dwarf2out_begin_prologue, dwarf2out_frame_init, > =A0 =A0 =A0 =A0dwarf2out_frame_finish, dwarf2out_assembly_start): Use > =A0 =A0 =A0 =A0targetm_common.except_unwind_info. > =A0 =A0 =A0 =A0* except.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(init_eh, finish_eh_generation, > =A0 =A0 =A0 =A0output_one_function_exception_table): Use > =A0 =A0 =A0 =A0targetm_common.except_unwind_info. > =A0 =A0 =A0 =A0(switch_to_exception_section): Use > =A0 =A0 =A0 =A0targetm_common.have_named_sections. > =A0 =A0 =A0 =A0* explow.c: Include common/common-target.h. > =A0 =A0 =A0 =A0* expr.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(build_personality_function): Use > =A0 =A0 =A0 =A0targetm_common.except_unwind_info. > =A0 =A0 =A0 =A0* function.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(expand_function_end): Use targetm_common.except_unwind_in= fo. > =A0 =A0 =A0 =A0* haifa-sched.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(sched_create_recovery_edges): Use > =A0 =A0 =A0 =A0targetm_common.have_named_sections. > =A0 =A0 =A0 =A0* lto-opts.c: Include common/common-target.h instead of ta= rget.h. > =A0 =A0 =A0 =A0(lto_reissue_options): Use targetm_common.handle_option. > =A0 =A0 =A0 =A0* opts.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(target_handle_option): Use targetm_common.handle_option. > =A0 =A0 =A0 =A0(init_options_struct): Update comment referring to > =A0 =A0 =A0 =A0targetm.target_option.optimization. =A0Use > =A0 =A0 =A0 =A0targetm_common.default_target_flags, > =A0 =A0 =A0 =A0targetm_common.unwind_tables_default and > =A0 =A0 =A0 =A0targetm_common.option_init_struct. > =A0 =A0 =A0 =A0(default_options_optimization): Use > =A0 =A0 =A0 =A0targetm_common.option_optimization_table. > =A0 =A0 =A0 =A0(finish_options): Use targetm_common.except_unwind_info, > =A0 =A0 =A0 =A0targetm_common.unwind_tables_default, > =A0 =A0 =A0 =A0targetm_common.have_named_sections and > =A0 =A0 =A0 =A0targetm_common.supports_split_stack. > =A0 =A0 =A0 =A0* toplev.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(process_options): Use targetm_common.have_named_sections. > =A0 =A0 =A0 =A0* tree-tailcall.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(suitable_for_tail_call_opt_p): Use > =A0 =A0 =A0 =A0targetm_common.except_unwind_info. > =A0 =A0 =A0 =A0* tree.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(build_common_builtin_nodes): Use > =A0 =A0 =A0 =A0targetm_common.except_unwind_info. > =A0 =A0 =A0 =A0* varasm.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(resolve_unique_section, hot_function_section, > =A0 =A0 =A0 =A0default_function_section): Use targetm_common.have_named_s= ections. > > ada: > 2011-05-27 =A0Joseph Myers =A0 > > =A0 =A0 =A0 =A0* gcc-interface/Make-lang.in (gnatbind$(exeext)): Use ggc-= none.o. > =A0 =A0 =A0 =A0(ada/utils.o): Update dependencies. > =A0 =A0 =A0 =A0* gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Add > =A0 =A0 =A0 =A0../../../libcpp/libcpp.a. > =A0 =A0 =A0 =A0* gcc-interface/utils.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(process_attributes): Use targetm_common.have_named_sectio= ns. > > c-family: > 2011-05-27 =A0Joseph Myers =A0 > > =A0 =A0 =A0 =A0* c-common.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(handle_section_attribute): Use > =A0 =A0 =A0 =A0targetm_common.have_named_sections. > =A0 =A0 =A0 =A0* c-cppbuiltin.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(c_cpp_builtins): Use targetm_common.except_unwind_info. > > cp: > 2011-05-27 =A0Joseph Myers =A0 > > =A0 =A0 =A0 =A0* Make-lang.in (cp/method.o): Update dependencies. > =A0 =A0 =A0 =A0* method.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(use_thunk): Use targetm_common.have_named_sections. > > go: > 2011-05-27 =A0Joseph Myers =A0 > > =A0 =A0 =A0 =A0* Make-lang.in (go/go-lang.o, go/export.o): Update depende= ncies. > =A0 =A0 =A0 =A0* go-lang.c: Include common/common-target.h. > =A0 =A0 =A0 =A0(go_langhook_init_options_struct): Use > =A0 =A0 =A0 =A0targetm_common.supports_split_stack. > > po: > 2011-05-27 =A0Joseph Myers =A0 > > =A0 =A0 =A0 =A0* exgettext: Handle common/ directory and subdirectories. This is OK. Thanks. Ian