diff options
author | Doug Kwan <dougkwan@google.com> | 2011-02-14 12:37:51 -0800 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2011-02-14 12:37:51 -0800 |
commit | 80934e7f7db429984fb56756a4cc893ba412b7b5 (patch) | |
tree | d650e0601d3499f50a6e01a7f443bf6e6959cc9b /gcc-4.4.3/gcc/config.gcc | |
parent | 4a66e756636cb8364582ea503abd10d76f5b4aa3 (diff) | |
download | toolchain_gcc-80934e7f7db429984fb56756a4cc893ba412b7b5.tar.gz toolchain_gcc-80934e7f7db429984fb56756a4cc893ba412b7b5.tar.bz2 toolchain_gcc-80934e7f7db429984fb56756a4cc893ba412b7b5.zip |
Synchronize internal and external version. Merge the following patches:
-Added a more helpful error message when the profile is corrupted.
-Added check for abnormal ssa names in the analysis phase of the vectorizer
so that it prevents a potential ICE.
-Replace floating-point calculations with fixed-point calculations when
computing inlining priority to eliminate floating-point non-determinism
on 32-bit x86.
-Use .init_array/.fini_array sections instead of .ctor/.dtor when
configured with --enable-initfini-array.
Change-Id: I32f22dae5bcd4d229be321ee10dfeaa11a04cbac
Diffstat (limited to 'gcc-4.4.3/gcc/config.gcc')
-rw-r--r-- | gcc-4.4.3/gcc/config.gcc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/config.gcc b/gcc-4.4.3/gcc/config.gcc index 4aed6f30e..321cf5543 100644 --- a/gcc-4.4.3/gcc/config.gcc +++ b/gcc-4.4.3/gcc/config.gcc @@ -156,6 +156,9 @@ # Set to an initializer for configure_default_options # in configargs.h, based on --with-cpu et cetera. # +# use_initfini_array If set to yes, .init_array/.fini_array sections +# will be used if they work. +# # use_fixproto Set to "yes" if fixproto should be run normally, # "no" if fixproto should never be run. @@ -200,6 +203,8 @@ need_64bit_hwint= # specifically set this to 'yes'. use_fixproto=no +use_initfini_array=yes + # Don't carry these over build->host->target. Please. xm_file= md_file= @@ -2656,6 +2661,16 @@ if test x$with_schedule = x; then esac fi +# Support --enable-initfini-array. Use initfini-array.h only if +# use_initfini_array is also set to yes. Some platforms don't need it +# even if enable_initfini_array is yes. +if test x$enable_initfini_array$use_initfini_array = xyesyes; then + tm_file="${tm_file} initfini-array.h" + tmake_file="${tmake_file} t-initfini-array" + extra_objs="$extra_objs initfini-array.o" + target_gtfiles="$target_gtfiles \$(srcdir)/config/initfini-array.c" +fi + # Validate and mark as valid any --with options supported # by this target. In order to use a particular --with option # you must list it in supported_defaults; validating the value |