diff options
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 |