2004-01-09 02:18:35 +01:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
top:
* ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
* configure.in, Makefile.in: Take out obsolete check-po logic.
* configure, config.in: Regenerate.
intl:
* Update entire directory from gettext 0.10.40.
* cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
Removed.
* config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
ref-add.sin, ref-del.sin: New.
po:
* Makefile.in.in: Upgrade to gettext-0.10.40.
* cat-id-tbl.c: Remove file.
* stamp-cat-id: Remove file.
From-SVN: r46233
2001-10-12 19:24:30 +02:00
|
|
|
|
[PATCH 1/7] OpenMP 4.0 offloading infrastructure: configure and make
* configure: Regenerate.
* configure.ac (--enable-as-accelerator-for)
(--enable-offload-targets): New configure options.
gcc/
* Makefile.in (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): New variables substituted by configure.
(libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
being configured as an offload compiler.
(DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
ACCEL_DIR_SUFFIX.
(install-cpp, install-common, install_driver, install-gcc-ar): Do not
install for the offload compiler.
* config.in: Regenerate.
* configure: Regenerate.
* configure.ac (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): Compute new variables.
(ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
(ENABLE_OFFLOADING): Define if list of offload targets is not empty.
gcc/cp/
* Make-lang.in (c++.install-common): Do not install for the offload
compiler.
gcc/doc/
* install.texi (Options specification): Document
--enable-as-accelerator-for and --enable-offload-targets.
gcc/fortran/
* Make-lang.in (fortran.install-common): Do not install for the offload
compiler.
libgcc/
* Makefile.in (crtoffloadbegin$(objext)): New rule.
(crtoffloadend$(objext)): Likewise.
* configure: Regenerate.
* configure.ac (accel_dir_suffix): Compute new variable.
(extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
if enable_offload_targets is not empty.
* offloadstuff.c: New file.
libgomp/
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for libdl, required for plugin support.
(PLUGIN_SUPPORT): Define if plugins are supported.
(enable_offload_targets): Support Intel MIC targets.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
lto-plugin/
* Makefile.am (libexecsubdir): Tweak for the possibility of being
configured for offload compiler.
(accel_dir_suffix, real_target_noncanonical): New variables substituted
by configure.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
variables.
Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
From-SVN: r217485
2014-11-13 14:28:56 +01:00
|
|
|
/* Define if this compiler should be built as the offload target compiler. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ACCEL_COMPILER
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-06-27 15:48:54 +02:00
|
|
|
/* Define to the assembler option to enable compressed debug sections. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef AS_COMPRESS_DEBUG_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the assembler option to disable compressed debug sections. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef AS_NO_COMPRESS_DEBUG_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-06-02 21:37:45 +02:00
|
|
|
/* Define as the number of bits in a byte, if `limits.h' doesn't. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef CHAR_BIT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-07-17 11:23:16 +02:00
|
|
|
|
2016-09-30 20:57:49 +02:00
|
|
|
/* Define to 0/1 if you want more run-time sanity checks. This one gets a grab
|
|
|
|
bag of miscellaneous but relatively cheap checks. */
|
2015-10-21 23:16:31 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef CHECKING_P
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define 0/1 to force the choice for exception handling model. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef CONFIG_SJLJ_EXCEPTIONS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-11-19 11:13:46 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to enable the use of a default assembler. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef DEFAULT_ASSEMBLER
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-11-02 08:20:48 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to enable the use of a default linker. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef DEFAULT_LINKER
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want to use __cxa_atexit, rather than atexit, to register C++
|
|
|
|
destructors for local statics and global objects. This is essential for
|
|
|
|
fully standards-compliant handling of destructors, but requires
|
|
|
|
__cxa_atexit in libc. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef DEFAULT_USE_CXA_ATEXIT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-05-03 20:21:49 +02:00
|
|
|
|
2014-11-14 08:30:27 +01:00
|
|
|
/* The default for -fdiagnostics-color option */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef DIAGNOSTICS_COLOR_DEFAULT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-08-27 18:20:45 +02:00
|
|
|
/* Define if you want assertions enabled. This is a cheap check. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-08-27 18:20:45 +02:00
|
|
|
#undef ENABLE_ASSERT_CHECKING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-08-27 18:20:45 +02:00
|
|
|
|
2007-06-14 09:51:58 +02:00
|
|
|
/* Define to 1 to specify that we are using the BID decimal floating point
|
|
|
|
format instead of DPD */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_DECIMAL_BID_FORMAT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2005-12-21 01:43:21 +01:00
|
|
|
/* Define to 1 to enable decimal float extension to C. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_DECIMAL_FLOAT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2015-05-28 04:36:55 +02:00
|
|
|
/* Define if your target supports default PIE and it is enabled. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_DEFAULT_PIE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2015-08-20 00:07:06 +02:00
|
|
|
/* Define if your target supports default stack protector and it is enabled.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_DEFAULT_SSP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-06-14 09:51:58 +02:00
|
|
|
/* Define if you want more run-time sanity checks for dataflow. */
|
2007-03-24 18:04:47 +01:00
|
|
|
#ifndef USED_FOR_TARGET
|
2007-06-14 09:51:58 +02:00
|
|
|
#undef ENABLE_DF_CHECKING
|
2007-03-24 18:04:47 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2017-01-04 09:29:34 +01:00
|
|
|
/* Define to 0/1 if you want extra run-time checking that might affect code
|
|
|
|
generation. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_EXTRA_CHECKING
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
c-common.h (enum rid): Add new enumeration values of RID_SAT, RID_FRACT, and RID_ACCUM.
* c-common.h (enum rid): Add new enumeration values of RID_SAT,
RID_FRACT, and RID_ACCUM. RID_SAT needs to be inserted before
RID_ONEWAY, so that it can be checked in declspecs_add_type.
(c_common_fixed_point_type_for_size): Declare.
* c-parser.c (reswords): Add _Fract, _Accum, and _Sat.
(c_token_starts_typename): Handle RID_FRACT, RID_ACCUM, and RID_SAT.
(c_token_starts_declspecs): Likewise.
(c_parser_declspecs): Likewise.
(c_parser_attributes): Likewise.
* c-tree.h (enum c_typespec_keyword): Add cts_fract and cts_accum.
(c_declspecs): Add saturating_p.
* c-decl.c (build_null_declspecs): Initialize saturating_p.
(declspecs_add_type): Avoid using complex with _Fract, _Accum, or _Sat.
Handle RID_SAT.
Avoid using void, bool, char, int, float, double, _Decimal32,
_Decimal64, _Decimal128, and complex with _Sat.
Handle RID_FRACT and RID_ACCUM.
Make sure _Sat is used with _Fract or _Accum.
(finish_declspecs): Handle cts_fract and cts_accum.
* c-common.c (fixed-value.h): New include.
(constant_expression_warning): Handle FIXED_CST.
(overflow_warning): Likewise.
(warnings_for_convert_and_check): Likewise.
(c_common_fixed_point_type_for_size): New.
(c_common_type_for_mode): Handle fixed-point modes to
return various saturating/non-saturating, signed/unsigned types.
(c_common_signed_or_unsigned_type): Support fixed-point types.
(shorten_compare): Check fixed-point zero.
Handle FIXED_POINT_TYPE.
(c_common_truthvalue_conversion): Handle FIXED_CST.
Handle FIXED_POINT_TYPE.
(c_common_nodes_and_builtins): Record builtin types for fixed-point
types.
(handle_mode_attribute): Handle fixed-point modes. Need to check
if the signness of base type and fixed-point modes are consistent.
(handle_vector_size_attribute): Handle fixed-point modes.
(same_scalar_type_ignoring_signedness): Handle FIXED_POINT_TYPE.
(warn_for_div_by_zero): Check fixed-point zero.
* c-typeck.c (c_common_type): Check FIXED_POINT_TYPE. Build
a common fixed-point type based on fbit, ibit, sign, and saturation.
(build_unary_op): Allow FIXED_POINT_TYPE for CONVERT_EXPR,
NEGATE_EXPR, TRUTH_NOT_EXPR, PREINCREMENT_EXPR, POSTINCREMENT_EXPR,
PREDECREMENT_EXPR, and POSTDECREMENT_EXPR.
(convert_for_assignment): Support FIXED_POINT_TYPE.
(digest_init): Handle FIXED_POINT_TYPE.
(build_binary_op): Support FIXED_POINT_TYPE in *_DIV_EXPR,
TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR,
TRUTH_XOR_EXPR, RSHIFT_EXPR, LSHIFT_EXPR, EQ_EXPR, NE_EXPR, LE_EXPR,
GE_EXPR, LT_EXPR, GT_EXPR.
* target-def.h (TARGET_FIXED_POINT_SUPPORTED_P): New.
(TARGET_INITIALIZER): Add TARGET_FIXED_POINT_SUPPORTED_P.
* target.h (gcc_target): Add fixed_point_supported_p.
* targhooks.c (default_scalar_mode_supported_p): Handle MODE_FRACT,
MODE_UFRACT, MODE_ACCUM, and MODE_UACCUM.
(default_fixed_point_supported_p): Define.
* targhooks.h (default_fixed_point_supported_p): Declare.
* doc/tm.texi (TARGET_FIXED_POINT_SUPPORTED_P): Add.
* doc/install.texi (Configuration): Add --enable-fixed-point.
* configure.ac (--enable-fixed-point): New to enable fixed-point
arithmetic extension to C. For mips targets, we enable it by default.
* configure, config.in: Regenerate.
From-SVN: r127652
2007-08-21 00:26:47 +02:00
|
|
|
/* Define to 1 to enable fixed-point arithmetic extension to C. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_FIXED_POINT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want fold checked that it never destructs its argument. This
|
|
|
|
is quite expensive. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_FOLD_CHECKING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want the garbage collector to operate in maximally paranoid
|
|
|
|
mode, validating the entire heap and collecting garbage at every
|
|
|
|
opportunity. This is extremely expensive. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_GC_ALWAYS_COLLECT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want the garbage collector to do object poisoning and other
|
|
|
|
memory allocation checks. This is quite expensive. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_GC_CHECKING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-07-17 11:23:16 +02:00
|
|
|
|
2008-07-30 07:28:53 +02:00
|
|
|
/* Define if you want operations on GIMPLE (the basic data structure of the
|
|
|
|
high-level optimizers) to be checked for dynamic type safety at runtime.
|
|
|
|
This is moderately expensive. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_GIMPLE_CHECKING
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-01-19 11:35:10 +01:00
|
|
|
/* Define this to enable support for generating HSAIL. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_HSA
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-05-01 02:19:24 +02:00
|
|
|
/* Define if gcc should always pass --build-id to linker. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_LD_BUILDID
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-12-10 11:55:56 +01:00
|
|
|
/* Define to 1 to enable libquadmath support */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_LIBQUADMATH_SUPPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-10-03 23:10:11 +02:00
|
|
|
/* Define to enable LTO support. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_LTO
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_NLS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-11-02 08:20:48 +01:00
|
|
|
|
[PATCH 1/7] OpenMP 4.0 offloading infrastructure: configure and make
* configure: Regenerate.
* configure.ac (--enable-as-accelerator-for)
(--enable-offload-targets): New configure options.
gcc/
* Makefile.in (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): New variables substituted by configure.
(libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
being configured as an offload compiler.
(DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
ACCEL_DIR_SUFFIX.
(install-cpp, install-common, install_driver, install-gcc-ar): Do not
install for the offload compiler.
* config.in: Regenerate.
* configure: Regenerate.
* configure.ac (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): Compute new variables.
(ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
(ENABLE_OFFLOADING): Define if list of offload targets is not empty.
gcc/cp/
* Make-lang.in (c++.install-common): Do not install for the offload
compiler.
gcc/doc/
* install.texi (Options specification): Document
--enable-as-accelerator-for and --enable-offload-targets.
gcc/fortran/
* Make-lang.in (fortran.install-common): Do not install for the offload
compiler.
libgcc/
* Makefile.in (crtoffloadbegin$(objext)): New rule.
(crtoffloadend$(objext)): Likewise.
* configure: Regenerate.
* configure.ac (accel_dir_suffix): Compute new variable.
(extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
if enable_offload_targets is not empty.
* offloadstuff.c: New file.
libgomp/
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for libdl, required for plugin support.
(PLUGIN_SUPPORT): Define if plugins are supported.
(enable_offload_targets): Support Intel MIC targets.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
lto-plugin/
* Makefile.am (libexecsubdir): Tweak for the possibility of being
configured for offload compiler.
(accel_dir_suffix, real_target_noncanonical): New variables substituted
by configure.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
variables.
Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
From-SVN: r217485
2014-11-13 14:28:56 +01:00
|
|
|
/* Define this to enable support for offloading. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_OFFLOADING
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-04-14 22:18:49 +02:00
|
|
|
/* Define to enable plugin support. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_PLUGIN
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want all operations on RTL (the basic data structure of the
|
|
|
|
optimizer and back end) to be checked for dynamic type safety at runtime.
|
|
|
|
This is quite expensive. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_RTL_CHECKING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-05-19 18:25:51 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want RTL flag accesses to be checked against the RTL codes
|
|
|
|
that are supported for each access macro. This is relatively cheap. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_RTL_FLAG_CHECKING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-01-29 10:14:37 +01:00
|
|
|
|
2005-03-24 15:09:06 +01:00
|
|
|
/* Define if you want runtime assertions enabled. This is a cheap check. */
|
|
|
|
#undef ENABLE_RUNTIME_CHECKING
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want all operations on trees (the basic data structure of the
|
|
|
|
front ends) to be checked for dynamic type safety at runtime. This is
|
2015-07-25 11:29:11 +02:00
|
|
|
moderately expensive. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_TREE_CHECKING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-01-29 10:14:37 +01:00
|
|
|
|
2007-08-07 20:33:16 +02:00
|
|
|
/* Define if you want all gimple types to be verified after gimplifiation.
|
|
|
|
This is cheap. */
|
2007-07-26 12:27:50 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_TYPES_CHECKING
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-04-28 16:01:40 +02:00
|
|
|
/* Define to get calls to the valgrind runtime enabled. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_VALGRIND_ANNOTATIONS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you want to run subprograms and generated programs through
|
|
|
|
valgrind (a memory checker). This is extremely expensive. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_VALGRIND_CHECKING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-04-21 01:06:55 +02:00
|
|
|
|
2016-05-09 13:54:55 +02:00
|
|
|
/* Define 0/1 if vtable verification feature is enabled. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef ENABLE_VTABLE_VERIFY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
/* Define to 1 if installation paths should be looked up in the Windows
|
|
|
|
Registry. Ignored on non-Windows hosts. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ENABLE_WIN32_REGISTRY
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-11-27 16:36:24 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to the name of a file containing a list of extra machine modes for
|
|
|
|
this architecture. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef EXTRA_MODES_FILE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-09-28 09:00:27 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to enable detailed memory allocation stats gathering. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef GATHER_STATISTICS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-12-08 00:40:19 +01:00
|
|
|
|
2013-06-01 21:12:57 +02:00
|
|
|
/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef GWINSZ_IN_SYS_IOCTL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2006-06-03 04:07:36 +02:00
|
|
|
/* mcontext_t fields start with __ */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAS_MCONTEXT_T_UNDERSCORES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
[PATCH 1/2] S/390: Implement "target" attribute.
gcc/ChangeLog
* config/s390/s390.opt (s390_arch_string): Remove.
(s390_tune_string): Likewise.
(s390_cost_pointer): Add Variable.
(s390_tune_flags): Add TargetVariable.
(s390_arch_flags, march=, mbackchain, mdebug, mesa, mhard-dfp),
(mhard-float, mlong-double-128, mlong-double-64, mhtm, mvx),
(mpacked-stack, msmall-exec, msoft-float, mstack-guard=, mstack-size=),
(mtune=, mmvcle, mzvector, mzarch, mbranch-cost=, mwarn-dynamicstack),
(mwarn-framesize=): Save option.
(mno-stack-guard, mno-stack-guard): New option.
(mwarn-dynamicstack): Allow mno-warn-dynamicstack.
(mwarn-framesize=): Convert to UInteger (negative values are rejected
now).
* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Split setting
macros changeable through the GCC target pragma into a separate
function.
(s390_cpu_cpp_builtins): Likewise.
(s390_pragma_target_parse): New function, implement GCC target pragma
if enabled.
(s390_register_target_pragmas): Register s390_pragma_target_parse if
available.
* common/config/s390/s390-common.c (s390_handle_option):
Export.
Move setting s390_arch_flags to s390.c.
Remove s390_tune_flags.
Allow 0 as argument to -mstack-size (switch to default value).
Allow 0 as argument to -mstack-guard (switch off).
Remove now unnecessary explicit parsing code for -mwarn-framesize.
* config/s390/s390-protos.h (s390_handle_option): Export.
(s390_valid_target_attribute_tree): Export.
(s390_reset_previous_fndecl): Export.
* config/s390/s390-builtins.def: Use new macro B_GROUP to mark the start
and end of HTM and VX builtins.
(s390_asm_output_function_prefix): Declare hook.
(s390_asm_declare_function_size): Likewise.
* config/s390/s390-builtins.h (B_GROUP): Use macro.
* config/s390/s390-opts.h: Add comment about processor_type usage.
* config/s390/s390.h (TARGET_CPU_IEEE_FLOAT_P, TARGET_CPU_ZARCH_P),
(TARGET_CPU_LONG_DISPLACEMENT_P, TARGET_CPU_EXTIMM_P, TARGET_CPU_DFP_P),
(TARGET_CPU_Z10_P, TARGET_CPU_Z196_P, TARGET_CPU_ZEC12_P),
(TARGET_CPU_HTM_P, TARGET_CPU_Z13_P, TARGET_CPU_VX_P),
(TARGET_HARD_FLOAT_P, TARGET_LONG_DISPLACEMENT_P, TARGET_EXTIMM_P),
(TARGET_DFP_P, TARGET_Z10_P, TARGET_Z196_P, TARGET_ZEC12_P),
(TARGET_HTM_P, TARGET_Z13_P, TARGET_VX_P, TARGET_CPU_EXTIMM),
(TARGET_CPU_DFP, TARGET_CPU_Z10, TARGET_CPU_Z196, TARGET_CPU_ZEC12),
(TARGET_CPU_HTM, TARGET_CPU_Z13, TARGET_LONG_DISPLACEMENT),
(TARGET_EXTIMM, TARGET_DFP, TARGET_Z10, TARGET_Z196, TARGET_ZEC12),
(TARGET_Z13, TARGET_VX, S390_USE_TARGET_ATTRIBUTE),
(S390_USE_ARCHITECTURE_MODIFIERS, SWITCHABLE_TARGET),
(ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
* config/s390/vecintrin.h: Use vector definitions even if __VEC__ is
undefined.
(vec_all_nan): Rewrite as macro using statement expressions to avoid
that the vector keyword needs to be defined when including the file.
(vec_all_numeric): Likewise.
(vec_any_nan): Likewise.
(vec_any_numeric): Likewise.
* config/s390/s390.c (s390_previous_fndecl): New static variable.
(s390_set_current_function): New function.
(s390_cost): Wrapper macro to allow defining the cost table pointer in
the options file.
(processor_table): Table for march= and mtune= parsing.
(s390_init_builtins): Enable all builtins and types unconditionally.
(s390_expand_builtin): Generate an error message if builtin is not
supported by current options.
Correct an error message.
(s390_function_specific_restore): New function to set s390_cost.
(s390_asm_output_machine_for_arch): New function for emitting .machine
and .machinmode directives to the assembler file.
(s390_asm_output_function_prefix): Likewise.
(s390_asm_declare_function_size): Likewise.
(s390_asm_output_function_label): Add mdebug output for feature testing.
(s390_option_override): Move implementation into internal function.
(s390_option_override_internal): Likewise.
Implement option overriding based on current options.
(s390_valid_target_attribute_inner_p): New function implementing target
attribute logic.
(s390_valid_target_attribute_tree): Likewise.
(s390_valid_target_attribute_p): Likewise.
(s390_reset_previous_fndecl): Likewise.
(s390_set_current_function): Likewise.
(TARGET_SET_CURRENT_FUNCTION): Provide target hook function.
(TARGET_OPTION_VALID_ATTRIBUTE_P): Likewise.
(TARGET_OPTION_RESTORE): Likewise.
* doc/extend.texi: S390: Document target attribute and pragma.
* config.in: Regenerated.
* configure: Regenerated.
* configure.ac: S390: Check for .machinemode and .machine in gas.
S390: Check for architecture modifiers support in gas.
gcc/testsuite/ChangeLog
* gcc.target/s390/asm-machine-1.c: New test.
* gcc.target/s390/asm-machine-2.c: New test.
* gcc.target/s390/asm-machine-3.c: New test.
* gcc.target/s390/asm-machine-4.c: New test.
* gcc.target/s390/target-attribute/tattr-1.c: New test.
* gcc.target/s390/target-attribute/tattr-2.c: New test.
* gcc.target/s390/target-attribute/tattr-3.c: New test.
* gcc.target/s390/target-attribute/tattr-4.c: New test.
* gcc.target/s390/target-attribute/tattr-5.c: New test.
* gcc.target/s390/target-attribute/tattr-6.c: New test.
* gcc.target/s390/target-attribute/tattr-7.c: New test.
* gcc.target/s390/target-attribute/tattr-8.c: New test.
* gcc.target/s390/target-attribute/tattr-9.c: New test.
* gcc.target/s390/target-attribute/tattr-10.c: New test.
* gcc.target/s390/target-attribute/tattr-11.c: New test.
* gcc.target/s390/target-attribute/tattr-12.c: New test.
* gcc.target/s390/target-attribute/tattr-13.c: New test.
* gcc.target/s390/target-attribute/tattr-14.c: New test.
* gcc.target/s390/target-attribute/tattr-15.c: New test.
* gcc.target/s390/target-attribute/tattr-16.c: New test.
* gcc.target/s390/target-attribute/tattr-17.c: New test.
* gcc.target/s390/target-attribute/tattr-18.c: New test.
* gcc.target/s390/target-attribute/tattr-19.c: New test.
* gcc.target/s390/target-attribute/tattr-arch-tune-1.c: New test.
* gcc.target/s390/target-attribute/tattr-arch-tune-2.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-1.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-2.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-3.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-4.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-5.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-6.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-7.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-8.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-9.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-10.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-11.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-12.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-13.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-14.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-15.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-16.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-17.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-18.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-19.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-20.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-21.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-22.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-23.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-24.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-25.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-26.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-27.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-28.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-29.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-30.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-31.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-32.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-1.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-2.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-3.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-4.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-5.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-6.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-7.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-8.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-9.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-10.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-11.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-12.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-13.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-14.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-15.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-16.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-17.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-18.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-19.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-20.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-21.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-22.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-23.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-24.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-25.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-26.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-27.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-28.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-29.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-30.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-31.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-32.c: New test.
* gcc.target/s390/target-attribute/tpragma-struct-vx-2.c: New test.
* gcc.target/s390/s390.exp (check_effective_target_target_attribute):
Add check whether target attribute is available.
Run test in target-attribute subdir.
* gcc.target/s390/s390-c++.exp
(check_effective_target_target_attribute): Likewise.
From-SVN: r231271
2015-12-04 15:30:42 +01:00
|
|
|
/* Define if your assembler supports architecture modifiers. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_ARCHITECTURE_MODIFIERS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2015-03-11 19:51:09 +01:00
|
|
|
/* Define if your avr assembler supports --mlink-relax option. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_AVR_MLINK_RELAX_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define if your avr assembler supports -mrmw option. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_AVR_MRMW_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-02-21 00:11:43 +01:00
|
|
|
/* Define if your assembler supports cmpb. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_CMPB
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-06-27 15:48:54 +02:00
|
|
|
/* Define to the level of your assembler's compressed debug section support.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_COMPRESS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-10-10 20:43:31 +02:00
|
|
|
/* Define if your assembler supports the DCI/ICI instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_DCI
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.
config:
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
gcc:
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* common.opt (-fdebug-prefix-map=): New option.
* opts.c: Include debug.h.
(common_handle_option): Handle -fdebug-prefix-map.
* final.c: Include ggc.h.
(struct debug_prefix_map, debug_prefix_maps, add_debug_prefix_map,
remap_debug_filename): New.
* Makefile.in (final.o, opts.o): Update dependencies.
* debug.h (remap_debug_filename, add_debug_prefix_map): Declare.
* configure.ac: Check for assembler --debug-prefix-map support.
* configure, config.in: Regenerate.
* gcc.c (ASM_MAP): Define conditional on HAVE_AS_DEBUG_PREFIX_MAP.
(ASM_DEBUG_SPEC): Include ASM_MAP.
* doc/install.texi (--with-debug-prefix-map): Document.
* doc/invoke.texi (-fdebug-prefix-map): Document.
* dbxout.c (dbxout_init, dbxout_start_source_file,
dbxout_source_file): Call remap_debug_filename.
* dwarf2out.c (add_comp_dir_attribute, maybe_emit_file,
dwarf2out_start_source_file, dwarf2out_finish): Call
remap_debug_filename.
(file_table_relative_p): Do not check d->emitted_number.
* toplev.c (output_file_directive): Call remap_debug_filename.
* vmsdbgout.c (write_srccorr): Call remap_debug_filename.
* xcoffout.c (xcoffout_source_file): Call remap_debug_filename.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r127613
2007-08-18 17:15:39 +02:00
|
|
|
/* Define if your assembler supports the --debug-prefix-map option. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_DEBUG_PREFIX_MAP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-02-21 00:11:43 +01:00
|
|
|
/* Define if your assembler supports DFP instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_DFP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-11-14 08:30:27 +01:00
|
|
|
/* Define if your assembler supports .module. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_DOT_MODULE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
configure.ac: Test assembler support for DSP Rev1 mult.
2010-11-04 Chao-ying Fu <fu@mips.com>
* configure.ac: Test assembler support for DSP Rev1 mult.
* configure: Regenerate.
* config.in: Regenerate.
* config/mips/mips.h (ISA_HAS_DSP_MULT): New define.
* config/mips/mips.c (CODE_FOR_mips_mult): New define.
(CODE_FOR_mips_multu): New define.
(mips_builtins): Move madd, maddu, msub, msubu, mult, multu from
dspr2_32 to dsp_32.
(mips_mulsidi3_gen_fn): Test (TARGET_FIX_R4000 && !ISA_HAS_DSP).
Delete returns when ISA_HAS_DSPR2, because the old patterns are deleted.
* config/mips/mips-dsp.md (mips_madd<u>, mips_msub<u>):
New define_expand patterns.
* config/mips/constraints.md (ka): Update the constraint to test
ISA_HAS_DSP_MULT instead of ISA_HAS_DSPR2.
* config/mips/mips-dspr2.md (mips_madd<u>, mips_msub<u>, mips_mult,
mips_multu): Delete.
* config/mips/mips.md (<u>mulsidi3_32bit): Add comments.
Change target constraint to "ka".
Use (!TARGET_FIX_R4000 || ISA_HAS_DSP), instead of
(!TARGET_FIX_R4000 && !ISA_HAS_DSPR2).
Emit the accumulator destination when ISA_HAS_DSP_MULT.
(<u>msubsidi4): Add comments.
Test ISA_HAS_DSP.
Emit the accumulator destination when ISA_HAS_DSP_MULT.
(<u>maddsidi4): Likewise.
* doc/extend.texi (MIPS DSP Built-in Functions): Move madd, maddu,
msub, msubu, mult, multu built-in functions from DSP r2 to DSP r1.
From-SVN: r166344
2010-11-05 01:26:14 +01:00
|
|
|
/* Define if your assembler supports DSPR1 mult. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_DSPR1_MULT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-07-03 22:28:02 +02:00
|
|
|
/* Define if your assembler supports .dtprelword. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_DTPRELWORD
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports dwarf2 .file/.loc directives, and
|
|
|
|
preserves file table indices exactly as given. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_DWARF2_DEBUG_LINE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-12 04:49:00 +01:00
|
|
|
|
2015-12-02 20:52:53 +01:00
|
|
|
/* Define if your assembler supports the R_PPC64_ENTRY relocation. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_ENTRY_MARKERS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports explicit relocations. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_EXPLICIT_RELOCS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1999-09-13 21:16:24 +02:00
|
|
|
|
2011-09-25 23:28:51 +02:00
|
|
|
/* Define if your assembler supports FMAF, HPC, and VIS 3.0 instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_FMAF_HPC_VIS3
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
invoke.texi (RS/6000 and PowerPC Options): Add -mmfcrf, -mpopcntb, -mfprnd.
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mmfcrf,
-mpopcntb, -mfprnd. Add -mcpu=power5+.
* configure.ac: Add test for FP rounding instructions.
* configure: Regenerate.
* config.in: Regenerate.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_ARCH_PPCSQ, _ARCH_PPCGR, _ARCH_PWR4, _ARCH_PWR5, _ARCH_PWR5X if
features enabled.
* config/rs6000/rs6000.opt (mfprnd): New.
* config/rs6000/rs6000.c (processor_target_table): Add power5+.
(POWERPC_MASKS): Add MASK_POPCNTB and MASK_FPRND.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add -mpower5+.
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mpower5+.
(TARGET_FPRND): New.
* config/rs6000/rs6000.md (UNSPEC_FRIM, UNSPEC_FRIN, UNSPEC_FRIP,
UNSPEC_FRIZ): New.
(btrunc<mode>2): New.
(ceil<mode>2): New.
(floor<mode>2): New.
(round<mode>2): New.
From-SVN: r106938
2005-11-15 06:00:40 +01:00
|
|
|
/* Define if your assembler supports fprnd. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_FPRND
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports the --gdwarf2 option. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_GDWARF2_DEBUG_FLAG
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-04-12 04:16:46 +02:00
|
|
|
|
2007-07-01 00:01:30 +02:00
|
|
|
/* Define if your assembler supports .gnu_attribute. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_GNU_ATTRIBUTE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define true if the assembler supports '.long foo@GOTOFF'. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_GOTOFF_IN_DATA
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports the --gstabs option. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_GSTABS_DEBUG_FLAG
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-04-12 20:07:06 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports the Sun syntax for cmov. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_IX86_CMOV_SUN_SYNTAX
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-06-08 08:41:28 +02:00
|
|
|
|
2006-11-02 01:56:38 +01:00
|
|
|
/* Define if your assembler supports the subtraction of symbols in different
|
|
|
|
sections. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_DIFF_SECT_DELTA
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2006-07-07 02:13:14 +02:00
|
|
|
/* Define if your assembler supports the ffreep mnemonic. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_FFREEP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-04-25 10:10:51 +02:00
|
|
|
/* Define if your assembler uses fildq and fistq mnemonics. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_FILDQ
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define if your assembler uses filds and fists mnemonics. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_FILDS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-06-23 18:30:43 +02:00
|
|
|
/* Define 0/1 if your assembler and linker support @GOT. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_GOT32X
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2012-05-25 11:24:08 +02:00
|
|
|
/* Define if your assembler supports HLE prefixes. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_HLE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-03-21 10:31:52 +01:00
|
|
|
/* Define if your assembler supports interunit movq mnemonic. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_INTERUNIT_MOVQ
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-05-20 20:52:03 +02:00
|
|
|
/* Define if your assembler supports the .quad directive. */
|
2010-05-17 22:28:56 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2010-05-20 20:52:03 +02:00
|
|
|
#undef HAVE_AS_IX86_QUAD
|
2010-05-17 22:28:56 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-07-09 23:09:04 +02:00
|
|
|
/* Define if the assembler supports 'rep <insn>, lock <insn>'. */
|
2010-05-19 17:31:00 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2010-05-20 20:52:03 +02:00
|
|
|
#undef HAVE_AS_IX86_REP_LOCK_PREFIX
|
2010-05-19 17:31:00 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-05-20 20:52:03 +02:00
|
|
|
/* Define if your assembler supports the sahf mnemonic in 64bit mode. */
|
2007-03-14 22:03:59 +01:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_SAHF
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-10-12 23:29:10 +02:00
|
|
|
/* Define if your assembler supports the swap suffix. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_SWAP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2012-01-10 14:21:53 +01:00
|
|
|
/* Define if your assembler and linker support @tlsgdplt. */
|
2011-05-27 17:45:56 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_TLSGDPLT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-03-07 12:30:40 +01:00
|
|
|
/* Define to 1 if your assembler and linker support @tlsldm. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_TLSLDM
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if your assembler and linker support @tlsldmplt. */
|
2011-05-27 17:45:56 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_TLSLDMPLT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
Call tls_get_addr via GOT for GNU TLS if possible
There are extensions to x86-64 psABI:
https://groups.google.com/forum/#!topic/x86-64-abi/de5_KnLHxtI
and i386 psABI:
https://groups.google.com/forum/#!topic/ia32-abi/awsRSvJOJfs
to call tls_get_addr via GOT. X86 assembler and linker in binutils 2.27
implemented
call *__tls_get_addr@GOTPCREL(%rip)
in 64-bit and
call *___tls_get_addr@GOT(%reg)
in 32-bit to access global and local thread loal variables in shared
library. We check if 32-bit x86 assembler and linker work with
call *___tls_get_addr@GOT(%reg)
as 32-bit and 64-bit assembler and linker are enabled togther.
In 32-bit, since any integer register except EAX, which is used to pass
parameter to ___tls_get_addr, and ESP, can be used as GOT base, a new
register class, TLS_GOTBASE_REGS, along with a new constraint, Yb, are
added. They are used to improve register allocation for 32-bit dynamic
TLS patterns.
gcc/
* configure.ac (calling ___tls_get_addr via GOT): New
assembler/linker check.
(HAVE_AS_IX86_TLS_GET_ADDR_GOT): New. Defined to 1 if 32-bit
assembler and linker supports calling ___tls_get_addr via GOT.
Otherise, defined to 0.
* config.in: Regenerated.
* configure: Likewise.
* config/i386/constraints.md (Yb): New constraint.
* config/i386/i386.h (reg_class): Add TLS_GOTBASE_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
* config/i386/i386.md (*tls_global_dynamic_32_gnu): Replace
the b constraint with the Yb constraint. Call ___tls_get_addr
via GOT for GNU TLS with -fno-plt if HAVE_AS_IX86_TLS_GET_ADDR_GOT
is 1.
(*tls_local_dynamic_base_32_gnu): Likewise.
(*tls_global_dynamic_64_<mode>): Call _tls_get_addr via GOT for
GNU TLS with -fno-plt if HAVE_AS_IX86_TLS_GET_ADDR_GOT is 1.
(*tls_local_dynamic_base_64_<mode>): Likewise.
gcc/testsuite/
* gcc.target/i386/noplt-gd-1.c: New test.
* gcc.target/i386/noplt-gd-2.c: Likewise.
* gcc.target/i386/noplt-gd-3.c: Likewise.
* gcc.target/i386/noplt-ld-1.c: Likewise.
* gcc.target/i386/noplt-ld-2.c: Likewise.
* gcc.target/i386/noplt-ld-3.c: Likewise.
* lib/target-supports.exp
(check_effective_target_tls_get_addr_via_got): New.
From-SVN: r237765
2016-06-24 19:32:52 +02:00
|
|
|
/* Define 0/1 if your assembler and linker support calling ___tls_get_addr via
|
|
|
|
GOT. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_TLS_GET_ADDR_GOT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-02-14 18:37:23 +01:00
|
|
|
/* Define if your assembler supports the 'ud2' mnemonic. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_IX86_UD2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2005-06-01 10:19:44 +02:00
|
|
|
/* Define if your assembler supports the lituse_jsrdirect relocation. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_JSRDIRECT_RELOCS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports .sleb128 and .uleb128. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_LEB128
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2007-03-13 08:19:14 +01:00
|
|
|
|
2013-08-09 11:13:32 +02:00
|
|
|
/* Define if your assembler supports LEON instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_LEON
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-03-13 08:19:14 +01:00
|
|
|
/* Define if the assembler won't complain about a line such as # 0 "" 2. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_LINE_ZERO
|
|
|
|
#endif
|
|
|
|
|
2003-06-05 00:21:21 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports ltoffx and ldxmov relocations. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_LTOFFX_LDXMOV_RELOCS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-09-13 03:33:13 +02:00
|
|
|
|
2009-08-18 19:01:36 +02:00
|
|
|
/* Define if your assembler supports LWSYNC instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_LWSYNC
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-12-11 14:13:43 +01:00
|
|
|
/* Define if your assembler supports the -mabi option. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_MABI_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
[PATCH 1/2] S/390: Implement "target" attribute.
gcc/ChangeLog
* config/s390/s390.opt (s390_arch_string): Remove.
(s390_tune_string): Likewise.
(s390_cost_pointer): Add Variable.
(s390_tune_flags): Add TargetVariable.
(s390_arch_flags, march=, mbackchain, mdebug, mesa, mhard-dfp),
(mhard-float, mlong-double-128, mlong-double-64, mhtm, mvx),
(mpacked-stack, msmall-exec, msoft-float, mstack-guard=, mstack-size=),
(mtune=, mmvcle, mzvector, mzarch, mbranch-cost=, mwarn-dynamicstack),
(mwarn-framesize=): Save option.
(mno-stack-guard, mno-stack-guard): New option.
(mwarn-dynamicstack): Allow mno-warn-dynamicstack.
(mwarn-framesize=): Convert to UInteger (negative values are rejected
now).
* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Split setting
macros changeable through the GCC target pragma into a separate
function.
(s390_cpu_cpp_builtins): Likewise.
(s390_pragma_target_parse): New function, implement GCC target pragma
if enabled.
(s390_register_target_pragmas): Register s390_pragma_target_parse if
available.
* common/config/s390/s390-common.c (s390_handle_option):
Export.
Move setting s390_arch_flags to s390.c.
Remove s390_tune_flags.
Allow 0 as argument to -mstack-size (switch to default value).
Allow 0 as argument to -mstack-guard (switch off).
Remove now unnecessary explicit parsing code for -mwarn-framesize.
* config/s390/s390-protos.h (s390_handle_option): Export.
(s390_valid_target_attribute_tree): Export.
(s390_reset_previous_fndecl): Export.
* config/s390/s390-builtins.def: Use new macro B_GROUP to mark the start
and end of HTM and VX builtins.
(s390_asm_output_function_prefix): Declare hook.
(s390_asm_declare_function_size): Likewise.
* config/s390/s390-builtins.h (B_GROUP): Use macro.
* config/s390/s390-opts.h: Add comment about processor_type usage.
* config/s390/s390.h (TARGET_CPU_IEEE_FLOAT_P, TARGET_CPU_ZARCH_P),
(TARGET_CPU_LONG_DISPLACEMENT_P, TARGET_CPU_EXTIMM_P, TARGET_CPU_DFP_P),
(TARGET_CPU_Z10_P, TARGET_CPU_Z196_P, TARGET_CPU_ZEC12_P),
(TARGET_CPU_HTM_P, TARGET_CPU_Z13_P, TARGET_CPU_VX_P),
(TARGET_HARD_FLOAT_P, TARGET_LONG_DISPLACEMENT_P, TARGET_EXTIMM_P),
(TARGET_DFP_P, TARGET_Z10_P, TARGET_Z196_P, TARGET_ZEC12_P),
(TARGET_HTM_P, TARGET_Z13_P, TARGET_VX_P, TARGET_CPU_EXTIMM),
(TARGET_CPU_DFP, TARGET_CPU_Z10, TARGET_CPU_Z196, TARGET_CPU_ZEC12),
(TARGET_CPU_HTM, TARGET_CPU_Z13, TARGET_LONG_DISPLACEMENT),
(TARGET_EXTIMM, TARGET_DFP, TARGET_Z10, TARGET_Z196, TARGET_ZEC12),
(TARGET_Z13, TARGET_VX, S390_USE_TARGET_ATTRIBUTE),
(S390_USE_ARCHITECTURE_MODIFIERS, SWITCHABLE_TARGET),
(ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
* config/s390/vecintrin.h: Use vector definitions even if __VEC__ is
undefined.
(vec_all_nan): Rewrite as macro using statement expressions to avoid
that the vector keyword needs to be defined when including the file.
(vec_all_numeric): Likewise.
(vec_any_nan): Likewise.
(vec_any_numeric): Likewise.
* config/s390/s390.c (s390_previous_fndecl): New static variable.
(s390_set_current_function): New function.
(s390_cost): Wrapper macro to allow defining the cost table pointer in
the options file.
(processor_table): Table for march= and mtune= parsing.
(s390_init_builtins): Enable all builtins and types unconditionally.
(s390_expand_builtin): Generate an error message if builtin is not
supported by current options.
Correct an error message.
(s390_function_specific_restore): New function to set s390_cost.
(s390_asm_output_machine_for_arch): New function for emitting .machine
and .machinmode directives to the assembler file.
(s390_asm_output_function_prefix): Likewise.
(s390_asm_declare_function_size): Likewise.
(s390_asm_output_function_label): Add mdebug output for feature testing.
(s390_option_override): Move implementation into internal function.
(s390_option_override_internal): Likewise.
Implement option overriding based on current options.
(s390_valid_target_attribute_inner_p): New function implementing target
attribute logic.
(s390_valid_target_attribute_tree): Likewise.
(s390_valid_target_attribute_p): Likewise.
(s390_reset_previous_fndecl): Likewise.
(s390_set_current_function): Likewise.
(TARGET_SET_CURRENT_FUNCTION): Provide target hook function.
(TARGET_OPTION_VALID_ATTRIBUTE_P): Likewise.
(TARGET_OPTION_RESTORE): Likewise.
* doc/extend.texi: S390: Document target attribute and pragma.
* config.in: Regenerated.
* configure: Regenerated.
* configure.ac: S390: Check for .machinemode and .machine in gas.
S390: Check for architecture modifiers support in gas.
gcc/testsuite/ChangeLog
* gcc.target/s390/asm-machine-1.c: New test.
* gcc.target/s390/asm-machine-2.c: New test.
* gcc.target/s390/asm-machine-3.c: New test.
* gcc.target/s390/asm-machine-4.c: New test.
* gcc.target/s390/target-attribute/tattr-1.c: New test.
* gcc.target/s390/target-attribute/tattr-2.c: New test.
* gcc.target/s390/target-attribute/tattr-3.c: New test.
* gcc.target/s390/target-attribute/tattr-4.c: New test.
* gcc.target/s390/target-attribute/tattr-5.c: New test.
* gcc.target/s390/target-attribute/tattr-6.c: New test.
* gcc.target/s390/target-attribute/tattr-7.c: New test.
* gcc.target/s390/target-attribute/tattr-8.c: New test.
* gcc.target/s390/target-attribute/tattr-9.c: New test.
* gcc.target/s390/target-attribute/tattr-10.c: New test.
* gcc.target/s390/target-attribute/tattr-11.c: New test.
* gcc.target/s390/target-attribute/tattr-12.c: New test.
* gcc.target/s390/target-attribute/tattr-13.c: New test.
* gcc.target/s390/target-attribute/tattr-14.c: New test.
* gcc.target/s390/target-attribute/tattr-15.c: New test.
* gcc.target/s390/target-attribute/tattr-16.c: New test.
* gcc.target/s390/target-attribute/tattr-17.c: New test.
* gcc.target/s390/target-attribute/tattr-18.c: New test.
* gcc.target/s390/target-attribute/tattr-19.c: New test.
* gcc.target/s390/target-attribute/tattr-arch-tune-1.c: New test.
* gcc.target/s390/target-attribute/tattr-arch-tune-2.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-1.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-2.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-3.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-4.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-5.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-6.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-7.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-8.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-9.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-10.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-11.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-12.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-13.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-14.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-15.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-16.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-17.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-18.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-19.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-20.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-21.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-22.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-23.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-24.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-25.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-26.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-27.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-28.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-29.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-30.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-31.c: New test.
* gcc.target/s390/target-attribute/tattr-m31-32.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-1.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-2.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-3.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-4.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-5.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-6.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-7.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-8.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-9.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-10.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-11.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-12.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-13.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-14.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-15.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-16.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-17.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-18.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-19.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-20.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-21.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-22.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-23.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-24.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-25.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-26.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-27.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-28.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-29.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-30.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-31.c: New test.
* gcc.target/s390/target-attribute/tattr-m64-32.c: New test.
* gcc.target/s390/target-attribute/tpragma-struct-vx-2.c: New test.
* gcc.target/s390/s390.exp (check_effective_target_target_attribute):
Add check whether target attribute is available.
Run test in target-attribute subdir.
* gcc.target/s390/s390-c++.exp
(check_effective_target_target_attribute): Likewise.
From-SVN: r231271
2015-12-04 15:30:42 +01:00
|
|
|
/* Define if your assembler supports .machine and .machinemode. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_MACHINE_MACHINEMODE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports mfcr field. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_MFCRF
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-12-08 00:40:19 +01:00
|
|
|
|
invoke.texi: Add cpu_type power6x (RS/6000 and PowerPC Options): Add -mmfpgpr.
* doc/invoke.texi: Add cpu_type power6x
(RS/6000 and PowerPC Options): Add -mmfpgpr.
* config.gcc: Add cpu_type power6x.
* configure.ac: Add test for mf{t,f}gpr instructions.
(HAVE_AS_MFPGPR): New.
* config.in: Regenerate.
* configure: Regenerate.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6x.
* config/rs6000/rs6000.md (define_attr "type"): Add insert_dword,
shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr
and mftgpr attributes.
(define_attr "cpu"): Add power6.
Change instruction sequences to use new attributes.
(floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR.
(fix_truncdfsi2_mfpgpr): New.
(floatsidf_ppc64_mfpgpr): New.
(floatsidf_ppc64): Added !TARGET_MFPGPR condition.
(movdf_hardfloat64_mfpgpr,movdi_mfpgpr): New.
(movdf_hardfloat64): Added !TARGET_MFPGPR condition.
(movdi_internal64): Added !TARGET_MFPGPR and related conditions.
(fix_truncdfsi2): Use gpc_reg_operand constraint.
* config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md,
7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}:
Add descriptions for insert_dword, shift,trap,var_shift_rotate,
cntlz,exts and var_delayed_compare.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_ARCH_PWR6X, if features enabled.
* config/rs6000/rs6000.opt (mmfpgpr): New.
* config/rs6000/rs6000.c (rs6000_align_branch_targets): New variable.
(cached_can_issue_more): New variable.
(processor_costs): Add power6_cost.
(rs6000_sched_init): New function.
(is_dispatch_slot_restricted): Deleted.
(set_to_load_agen): New function.
(is_load_insn,is_store_insn): New functions.
(adjacent_mem_locations): New function.
(insn_must_be_first_in_group): New function.
(insn_must_be_last_in_group): New function.
(rs6000_sched_reorder): New function.
(rs6000_sched_reorder2): New function.
(TARGET_SCHED_INIT,TARGET_SCHED_REORDER,
TARGET_SCHED_REORDER2): Define.
(processor_target_table): Use PROCESSOR_POWER6 for power6.
Add power6x. Add MASK_MFPGPR for power6x.
(POWERPC_MASKS): Add MASK_MFPGPR.
(rs6000_override_options): Set rs6000_always_hint to false
for power6. Set rs6000_align_branch_targets. Replace
rs6000_sched_groups check with rs6000_align_branch_targets.
Use PROCESSOR_POWER6.
(last_scheduled_insn): New variable.
(load_store_pendulum): New variable.
(rs6000_variable_issue): Set last_scheduled_insn and
cached_can_issue_more.
(rs6000_adjust_cost): Add power6 cost adjustments.
(rs6000_adjust_priority): Replace is_dispatch_slot_restricted
with insn_must_be_first_in_group. Add power6 priority adjustments.
(rs6000_issue_rate): Add CPU_POWER6.
(insn_terminates_group_p): Use insn_must_be_{first,last}_in_group.
* config/rs6000/rs6000.h (processor_type): Add PROCESSOR_POWER6.
(TARGET_MFPGPR): New.
(SECONDARY_MEMORY_NEEDED): Use TARGET_MFPGPR.
(ASM_CPU_SPEC): Add power6x.
(SECONDARY_MEMORY_NEEDED): Added mode!=DFmode and mode!=DImode
conditions.
* config/rs6000/power6.md: New file.
Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com>
From-SVN: r118396
2006-11-01 21:47:53 +01:00
|
|
|
/* Define if your assembler supports mffgpr and mftgpr. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_MFPGPR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
[Darwin] fix PR67710 by updating 'as' specs to handle newer assembler versions.
A/ Newer versions of ld64 check the min_version command, and newer versions of
the system assembler inserts this in response to "-mmacosx-version-min=" on
the assembler line. Unless one makes sensible versions, some object is bound
to conflict.
B/ Additionally, there's a difference in behaviour between "as" and "ld" when
presented with xx.yy.zz (ld truncates to xx.yy, as doesn't); net result is
that one needs to pass a truncated version to "as".
So (if the assembler supports minversion commands)
(a) provide a truncated minversion (as asm_macosx_version_min, which is a
driver-only var).
(b) pass this to "as"
(c) Update tests to determine 'HAVE_AS_MMACOSX_VERSION_MIN_OPTION'
(Rainer's patch)
(d) For some reason the testcases are "run" (it's not obvious they need to be,
they are checking compile-time issues)
- anyway, to preserve the status quo, I've left them as exec. However, the
minimum version that can be code-gened for is target-dependent (there are no
released x86 versions before 10.4, for example). To avoid conflicts where
the "as" is assuming some minimum, I've set the testversion to 10.5 (which
is supported by all the archs we have)
(e) We need to ensure that libgcc and crts are generated with a sufficiently
old minversion not to conflict.
gcc/
2016-11-27 Iain Sandoe <iain@codesourcery.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/67710
* config.in: Regenerate
* config/darwin-driver.c (darwin_driver_init): Emit a version string
for the assembler.
* config/darwin.h(ASM_MMACOSX_VERSION_MIN_SPEC): New, new tests.
* config/darwin.opt(asm_macosx_version_min): New.
* config/i386/darwin.h: Handle ASM_MMACOSX_VERSION_MIN_SPEC.
* configure: Regenerate
* configure.ac: Check for mmacosx-version-min handling.
gcc/testsuite/
2016-11-27 Iain Sandoe <iain@codesourcery.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Dominique d'Humieres <dominiq@lps.ens.fr>
PR target/67710
* gcc.dg/darwin-minversion-1.c: Update min version check.
* gcc.dg/darwin-minversion-2.c: Likewise.
* gcc.dg/darwin-minversion-3.c: Likewise.
libgcc/
2016-11-27 Iain Sandoe <iain@codesourcery.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/67710
* config/t-darwin: Default builds to 10.5 codegen.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
From-SVN: r242898
2016-11-27 16:07:22 +01:00
|
|
|
/* Define if your Mac OS X assembler supports the -mmacos-version-min option.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_MMACOSX_VERSION_MIN_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-07-29 16:37:30 +02:00
|
|
|
/* Define if the assembler understands -mnan=. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_NAN
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-03-08 01:32:37 +01:00
|
|
|
/* Define if your assembler supports the -no-mul-bug-abort option. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-03-08 01:32:37 +01:00
|
|
|
#undef HAVE_AS_NO_MUL_BUG_ABORT_OPTION
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-03-08 01:32:37 +01:00
|
|
|
|
2006-10-29 12:13:14 +01:00
|
|
|
/* Define if the assembler understands -mno-shared. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_NO_SHARED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports offsetable %lo(). */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_OFFSETABLE_LO10
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-05-19 18:25:51 +02:00
|
|
|
|
2009-08-18 19:01:36 +02:00
|
|
|
/* Define if your assembler supports popcntb field. */
|
2005-05-08 18:58:03 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2005-05-07 20:51:50 +02:00
|
|
|
#undef HAVE_AS_POPCNTB
|
2005-05-08 18:58:03 +02:00
|
|
|
#endif
|
|
|
|
|
2005-05-07 20:51:50 +02:00
|
|
|
|
2009-08-18 19:01:36 +02:00
|
|
|
/* Define if your assembler supports POPCNTD instructions. */
|
2009-06-23 22:15:15 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_POPCNTD
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2012-11-07 20:49:51 +01:00
|
|
|
/* Define if your assembler supports POWER8 instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_POWER8
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2015-11-09 17:56:22 +01:00
|
|
|
/* Define if your assembler supports POWER9 instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_POWER9
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-01-16 13:14:09 +01:00
|
|
|
/* Define if your assembler supports .ref */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_REF
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports .register. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_REGISTER_PSEUDO_OP
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
configure.ac: Add --enable-secureplt.
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise. Init r30 before plt call.
From-SVN: r100415
2005-06-01 02:30:26 +02:00
|
|
|
/* Define if your assembler supports R_PPC_REL16 relocs. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_REL16
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports -relax option. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_RELAX_OPTION
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-12 04:49:00 +01:00
|
|
|
|
2015-07-16 10:36:02 +02:00
|
|
|
/* Define if your assembler supports relocs needed by -fpic. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_SMALL_PIC_RELOCS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-01-30 10:26:21 +01:00
|
|
|
/* Define if your assembler supports SPARC4 instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_SPARC4
|
|
|
|
#endif
|
|
|
|
|
2016-06-23 18:30:43 +02:00
|
|
|
|
|
|
|
/* Define if your assembler supports SPARC5 and VIS 4.0 instructions. */
|
sparc: support for the SPARC M7 and VIS 4.0
gcc/ChangeLog:
2016-06-06 Jose E. Marchesi <jose.marchesi@oracle.com>
* config/sparc/sparc.md (cpu): Add niagara7 cpu type.
Include the M7 SPARC DFA scheduler.
New attribute v3pipe.
Annotate insns with v3pipe where appropriate.
Define cpu_feature vis4.
Add lzd instruction type and set it on clzdi_sp64 and clzsi_sp64.
Add (V8QI "8") to vbits.
Add insns {add,sub}v8qi3
Add insns ss{add,sub}v8qi3
Add insns us{add,sub}{v8qi,v4hi}3
Add insns {min,max}{v8qi,v4hi,v2si}3
Add insns {minu,maxu}{v8qi,v4hi,v2si}3
Add insns fpcmp{le,gt,ule,ug,ule,ugt}{8,16,32}_vis.
* config/sparc/niagara4.md: Add a comment explaining the
discrepancy between the documented latenty numbers and the
implemented ones.
* config/sparc/niagara7.md: New file.
* configure.ac (HAVE_AS_SPARC5_VIS4): Define if the assembler
supports SPARC5 and VIS 4.0 instructions.
* configure: Regenerate.
* config.in: Likewise.
* config.gcc: niagara7 is a supported cpu in sparc*-*-* targets.
* config/sparc/sol2.h (ASM_CPU32_DEFAUILT_SPEC): Set for
TARGET_CPU_niagara7.
(ASM_CPU64_DEFAULT_SPEC): Likewise.
(CPP_CPU_SPEC): Handle niagara7.
(ASM_CPU_SPEC): Likewise.
* config/sparc/sparc-opts.h (processor_type): Add
PROCESSOR_NIAGARA7.
(mvis4): New option.
* config/sparc/sparc.h (TARGET_CPU_niagara7): Define.
(AS_NIAGARA7_FLAG): Define.
(ASM_CPU64_DEFAULT_SPEC): Set for niagara7.
(CPP_CPU64_DEFAULT_SPEC): Likewise.
(CPP_CPU_SPEC): Handle niagara7.
(ASM_CPU_SPEC): Likewise.
* config/sparc/sparc.c (niagara7_costs): Define.
(sparc_option_override): Handle niagara7 and adjust cache-related
parameters with better values for niagara cpus. Also support VIS4.
(sparc32_initialize_trampoline): Likewise.
(sparc_use_sched_lookahead): Likewise.
(sparc_issue_rate): Likewise.
(sparc_register_move_cost): Likewise.
(dump_target_flag_bits): Support VIS4.
(sparc_vis_init_builtins): Likewise.
(sparc_builtins): Likewise.
* config/sparc/sparc-c.c (sparc_target_macros): Define __VIS__ for
VIS4 4.0.
* config/sparc/driver-sparc.c (cpu_names): Add SPARC-M7 and
UltraSparc M7.
* config/sparc/sparc.opt (sparc_processor_type): New value
niagara7.
* config/sparc/visintrin.h (__attribute__): Prototypes for the
VIS4 builtins.
* doc/invoke.texi (SPARC Options): Document -mcpu=niagara7 and
-mvis4.
* doc/extend.texi (SPARC VIS Built-in Functions): Document the
VIS4 builtins.
gcc/testsuite/ChangeLog:
2016-06-06 Jose E. Marchesi <jose.marchesi@oracle.com>
* gcc.target/sparc/vis4misc.c: New file.
* gcc.target/sparc/fpcmp.c: Likewise.
* gcc.target/sparc/fpcmpu.c: Likewise.
From-SVN: r237132
2016-06-06 13:40:02 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_SPARC5_VIS4
|
|
|
|
#endif
|
|
|
|
|
2013-01-30 10:26:21 +01:00
|
|
|
|
2010-02-21 04:58:51 +01:00
|
|
|
/* Define if your assembler and linker support GOTDATA_OP relocs. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_SPARC_GOTDATA_OP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler and linker support unaligned PC relative relocs.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_SPARC_UA_PCREL
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-09-13 08:17:31 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler and linker support unaligned PC relative relocs
|
|
|
|
against hidden symbols. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_SPARC_UA_PCREL_HIDDEN
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-04-04 15:32:39 +02:00
|
|
|
|
2015-12-17 10:23:08 +01:00
|
|
|
/* Define if your assembler supports .stabs. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_STABS_DIRECTIVE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-07-23 19:58:57 +02:00
|
|
|
/* Define if your assembler and linker support thread-local storage. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_AS_TLS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2008-09-04 11:43:08 +02:00
|
|
|
|
2009-03-31 05:11:34 +02:00
|
|
|
/* Define if your assembler supports arg info for __tls_get_addr. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_TLS_MARKERS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-08-08 23:40:18 +02:00
|
|
|
/* Define if your assembler supports VSX instructions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_AS_VSX
|
|
|
|
#endif
|
2001-04-21 01:06:55 +02:00
|
|
|
|
2008-09-04 11:43:08 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `atoq' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_ATOQ
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1999-04-15 03:50:52 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if you have the `clearerr_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_CLEARERR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `clock' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_CLOCK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if <time.h> defines clock_t. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_CLOCK_T
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-12-03 17:48:20 +01:00
|
|
|
|
2005-05-08 18:58:03 +02:00
|
|
|
/* Define 0/1 if your assembler and linker support COMDAT groups. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_COMDAT_GROUP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'abort', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_ABORT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-09-13 03:33:13 +02:00
|
|
|
|
2005-06-03 23:13:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'asprintf', otherwise define to
|
|
|
|
0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_ASPRINTF
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'atof', otherwise define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_ATOF
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-01-20 21:41:55 +01:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'atol', otherwise define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_ATOL
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-11-02 22:19:36 +01:00
|
|
|
|
2015-06-01 21:46:17 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'atoll', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_ATOLL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `basename(const char*)', and to
|
|
|
|
0 if you don't. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_BASENAME
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'calloc', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_CALLOC
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'clearerr_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'clock', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_CLOCK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-08-11 17:56:58 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'errno', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_ERRNO
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-08-11 17:56:58 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'feof_unlocked', otherwise define
|
|
|
|
to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FEOF_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if we found a declaration for 'ferror_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FERROR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if we found a declaration for 'fflush_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2012-08-20 14:31:25 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'ffs', otherwise define to 0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_FFS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'fgetc_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FGETC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if we found a declaration for 'fgets_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FGETS_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if we found a declaration for 'fileno_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FILENO_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'fprintf_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_FPRINTF_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-08-11 17:56:58 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'fputc_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FPUTC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'fputs_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_FPUTS_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-08-11 17:56:58 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'fread_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_FREAD_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'free', otherwise define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_FREE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'fwrite_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_FWRITE_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-06-05 00:21:21 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getchar_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getcwd', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_GETCWD
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getc_unlocked', otherwise define
|
|
|
|
to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_GETC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getenv', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_GETENV
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getopt', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_GETOPT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1998-11-23 17:39:37 +01:00
|
|
|
|
2004-07-09 01:05:29 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getpagesize', otherwise define
|
|
|
|
to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-07-09 01:05:29 +02:00
|
|
|
#undef HAVE_DECL_GETPAGESIZE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-07-09 01:05:29 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getrlimit', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_GETRLIMIT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getrusage', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_GETRUSAGE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-12-07 01:31:01 +01:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'getwd', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_GETWD
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1997-08-11 17:56:58 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'ldgetname', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_LDGETNAME
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
2011-10-19 18:02:30 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'madvise', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_MADVISE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'malloc', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_MALLOC
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-04-12 20:07:06 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'putchar_unlocked', otherwise
|
|
|
|
define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'putc_unlocked', otherwise define
|
|
|
|
to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_PUTC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'realloc', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_REALLOC
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'sbrk', otherwise define to 0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_SBRK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
2015-09-11 00:52:08 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'setenv', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_SETENV
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'setrlimit', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_SETRLIMIT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
2006-06-03 04:07:36 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'sigaltstack', otherwise define
|
|
|
|
to 0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_SIGALTSTACK
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'snprintf', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_SNPRINTF
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
2011-11-12 22:39:59 +01:00
|
|
|
/* Define to 1 if we found a declaration for 'stpcpy', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_STPCPY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-06-10 11:45:00 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'strnlen', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_STRNLEN
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'strsignal', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_STRSIGNAL
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-07-08 02:35:52 +02:00
|
|
|
|
2015-06-01 21:46:17 +02:00
|
|
|
/* Define to 1 if you have the declaration of `strstr(const char*,const
|
|
|
|
char*)', and to 0 if you don't. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_STRSTR
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
2014-11-22 21:53:36 +01:00
|
|
|
/* Define to 1 if we found a declaration for 'strtol', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_STRTOL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if we found a declaration for 'strtoll', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_STRTOLL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if we found a declaration for 'strtoul', otherwise define to 0.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_STRTOUL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if we found a declaration for 'strtoull', otherwise define to
|
|
|
|
0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_STRTOULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2005-07-08 07:51:06 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'strverscmp', otherwise define to
|
|
|
|
0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_STRVERSCMP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'times', otherwise define to 0.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_TIMES
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
2015-09-11 00:52:08 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'unsetenv', otherwise define to
|
|
|
|
0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DECL_UNSETENV
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-09 10:17:32 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'vasprintf', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DECL_VASPRINTF
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
2005-04-13 11:13:27 +02:00
|
|
|
/* Define to 1 if we found a declaration for 'vsnprintf', otherwise define to
|
|
|
|
0. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2005-04-13 11:13:27 +02:00
|
|
|
#undef HAVE_DECL_VSNPRINTF
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2005-04-13 11:13:27 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <direct.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_DIRECT_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
2008-06-02 21:37:45 +02:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-12-02 23:43:58 +01:00
|
|
|
/* Define to 1 if you have the <ext/hash_map> header file. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_EXT_HASH_MAP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_FCNTL_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Delete entries.
* configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
for these macros. Clean up spacing and linewraps.
From-SVN: r33420
2000-04-25 22:30:16 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if you have the `feof_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_FEOF_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `ferror_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_FERROR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `fflush_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_FFLUSH_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `fgetc_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_FGETC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `fgets_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_FGETS_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `fileno_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_FILENO_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_FORK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Delete entries.
* configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
for these macros. Clean up spacing and linewraps.
From-SVN: r33420
2000-04-25 22:30:16 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `fprintf_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_FPRINTF_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Delete entries.
* configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
for these macros. Clean up spacing and linewraps.
From-SVN: r33420
2000-04-25 22:30:16 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `fputc_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_FPUTC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-05-08 00:52:19 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `fputs_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_FPUTS_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Delete entries.
* configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
for these macros. Clean up spacing and linewraps.
From-SVN: r33420
2000-04-25 22:30:16 +02:00
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if you have the `fread_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_FREAD_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2015-02-10 04:40:20 +01:00
|
|
|
/* Define to 1 if you have the <ftw.h> header file. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_FTW_H
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `fwrite_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_FWRITE_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Delete entries.
* configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
for these macros. Clean up spacing and linewraps.
From-SVN: r33420
2000-04-25 22:30:16 +02:00
|
|
|
|
2009-05-28 12:48:35 +02:00
|
|
|
/* Define if your assembler supports specifying the alignment of objects
|
|
|
|
allocated using the GAS .comm command. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_ALIGNED_COMM
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports .balign and .p2align. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GAS_BALIGN_AND_P2ALIGN
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-07-28 17:42:24 +02:00
|
|
|
|
2008-08-05 19:24:37 +02:00
|
|
|
/* Define 0/1 if your assembler supports CFI directives. */
|
|
|
|
#undef HAVE_GAS_CFI_DIRECTIVE
|
|
|
|
|
2008-08-07 18:29:22 +02:00
|
|
|
/* Define 0/1 if your assembler supports .cfi_personality. */
|
|
|
|
#undef HAVE_GAS_CFI_PERSONALITY_DIRECTIVE
|
|
|
|
|
2009-10-02 20:52:15 +02:00
|
|
|
/* Define 0/1 if your assembler supports .cfi_sections. */
|
|
|
|
#undef HAVE_GAS_CFI_SECTIONS_DIRECTIVE
|
|
|
|
|
2009-06-05 01:12:27 +02:00
|
|
|
/* Define if your assembler supports the .loc discriminator sub-directive. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_DISCRIMINATOR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-08-18 19:01:36 +02:00
|
|
|
/* Define if your assembler supports @gnu_unique_object. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_GNU_UNIQUE_OBJECT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler and linker support .hidden. */
|
|
|
|
#undef HAVE_GAS_HIDDEN
|
2003-10-29 23:13:59 +01:00
|
|
|
|
2008-09-04 11:43:08 +02:00
|
|
|
/* Define if your assembler supports .lcomm with an alignment field. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_LCOMM_WITH_ALIGNMENT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-01-01 21:58:38 +01:00
|
|
|
/* Define if your assembler supports .literal16. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_LITERAL16
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports specifying the maximum number of bytes to
|
|
|
|
skip when using the GAS .p2align command. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GAS_MAX_SKIP_P2ALIGN
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-03-04 18:51:00 +01:00
|
|
|
|
extend.texi: (micromips, nomicromips, nocompression): Document new function attributes.
gcc/
2013-03-20 Catherine Moore <clm@codesourcery.com>
Maciej W. Rozycki <macro@codesourcery.com>
Tom de Vries <tom@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Iain Sandoe <iain@codesourcery.com>
Nathan Froyd <froydnj@codesourcery.com>
Chao-ying Fu <fu@mips.com>
* doc/extend.texi: (micromips, nomicromips, nocompression):
Document new function attributes.
* doc/invoke.texi (minterlink-compressed, mmicromips,
m14k, m14ke, m14kec): Document new options.
(minterlink-mips16): Update documentation.
* doc/md.texi (ZC, ZD): Document new constraints.
* configure.ac (gcc_cv_as_micromips): Check if linker
supports the .set micromips directive.
* configure: Regenerate.
* config.in: Regenerate.
* config/mips/mips-tables.opt: Regenerate.
* config/mips/micromips.md: New file.
* constraints.md (ZC, ZD): New constraints.
* config/mips/predicates.md (movep_src_register): New predicate.
(movep_src_operand): New predicate.
(non_volatile_mem_operand): New predicate.
* config/mips/mips.md (multimem): New type.
(length): Differentiate between 17-bit and 18-bit branch offsets.
(MOVEP1, MOVEP2): New mode iterator.
(mov_<load>l): Use ZC constraint.
(mov_<load>r): Likewise.
(mov_<store>l): Likewise.
(mov_<store>r): Likewise.
(*branch_equality<mode>_inverted): Add microMIPS support.
(*branch_equality<mode>): Likewise.
(*jump_absolute): Likewise.
(indirect_jump_<mode>): Likewise.
(tablejump_<mode>): Likewise.
(<optab>_internal): Likewise.
(sibcall_internal): Likewise.
(sibcall_value_internal): Likewise.
(prefetch): Use constraint ZD.
* config/mips/mips.opt (minterlink-compressed): New option.
(minterlink-mips16): Now an alias for minterlink-compressed.
(mmicromips): New option.
* config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
(compare_and_swap_12): Likewise.
(sync_add<mode>): Likewise.
(sync_<optab>_12): Likewise.
(sync_old_<optab>_12): Likewise.
(sync_new_<optab>_12): Likewise.
(sync_nand_12): Likewise.
(sync_old_nand_12): Likewise.
(sync_new_nand_12): Likewise.
(sync_sub<mode>): Likewise.
(sync_old_add<mode>): Likewise.
(sync_old_sub<mode>): Likewise.
(sync_new_add<mode>): Likewise.
(sync_new_sub<mode>): Likewise.
(sync_<optab><mode>): Likewise.
(sync_old_<optab><mode>): Likewise.
(sync_new_<optab><mode>): Likewise.
(sync_nand<mode>): Likewise.
(sync_old_nand<mode>): Likewise.
(sync_new_nand<mode>): Likewise.
(sync_lock_test_and_set<mode>): Likewise.
(test_and_set_12): Likewise.
(atomic_compare_and_swap<mode>): Likewise.
(atomic_exchange<mode>_llsc): Likewise.
(atomic_fetch_add<mode>_llsc): Likewise.
* config/mips/mips-cpus.def (m14kc, m14k): New processors.
* config/mips/mips-protos.h (umips_output_save_restore): New prototype.
(umips_save_restore_pattern_p): Likewise.
(umips_load_store_pair_p): Likewise.
(umips_output_load_store_pair): Likewise.
(umips_movep_target_p): Likewise.
(umips_12bit_offset_address_p): Likewise.
* config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
(mips_base_mips16): Rename this...
(mips_base_compression_flags): ...to this. Update all uses.
(mips_attribute_table): Add micromips, nomicromips and nocompression.
(mips_mips16_decl_p): Delete.
(mips_nomips16_decl_p): Delete.
(mips_get_compress_on_flags): New function.
(mips_get_compress_off_flags): New function.
(mips_get_compress_mode): New function.
(mips_get_compress_on_name): New function.
(mips_get_compress_off_name): New function.
(mips_insert_attributes): Support multiple compression types.
(mips_merge_decl_attributes): Likewise.
(umips_12bit_offset_address_p): New function.
(mips_start_function_definition): Emit .set micromips directive.
(mips_call_may_need_jalx_p): New function.
(mips_function_ok_for_sibcall): Add microMIPS support.
(mips_print_operand_punctuation): Support short delay slots and
compact jumps.
(umips_swm_mask, umips_swm_encoding): New.
(umips_build_save_restore): New function.
(mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
(was_mips16_p): Remove.
(old_compression_mode): New.
(mips_set_compression_mode): New function.
(mips_set_current_function): Add microMIPS support.
(mips_option_override): Likewise.
(umips_save_restore_pattern_p): New function.
(umips_output_save_restore): New function.
(umips_load_store_pair_p_1): New function.
(umips_load_store_pair_p): New function.
(umips_output_load_store_pair_1): New function.
(umips_output_load_store_pair): New function.
(umips_movep_target_p) New function.
(mips_prepare_pch_save): Add microMIPS support.
* config/mips/mips.h (TARGET_COMPRESSION): New.
(TARGET_CPU_CPP_BUILTINS): Update macro
to use new compression flags and to support microMIPS.
(MIPS_ISA_LEVEL_SPEC): Add m14k processors.
(MIPS_ARCH_FLOAT_SPEC): Likewise.
(ISA_HAS_LWXS): Include TARGET_MICROMIPS.
(ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
(ASM_SPEC): Support mmicromips and mno-micromips.
(M16STORE_REG_P): New macro.
(MIPS_CALL): Support TARGET_MICROMIPS.
(MICROMIPS_J): New macro.
(mips_base_mips16): Rename this...
(mips_base_compression_flags): ...to this.
(UMIPS_12BIT_OFFSET_P): New macro.
* config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
(MULTILIB_DIRNAMES): Likewise.
libgcc/
2013-03-20 Catherine Moore <clm@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Chao-ying Fu <fu@mips.com>
* config/mips/mips16.S: Don't build for microMIPS.
* config/mips/linux-unwind.h: Handle microMIPS frame.
* config/mips/crtn.S (fini, init): New labels.
gcc/testsuite/
2013-03-20 Catherine Moore <clm@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>
* gcc.target/mips/mips.exp: Add microMIPS support.
* gcc.target/mips/umips-movep-2.c: New test.
* gcc.target/mips/umips-lwp-2.c: New test.
* gcc.target/mips/umips-swp-5.c: New test.
* gcc.target/mips/umips-constraints-1.c: New test.
* gcc.target/mips/umips-lwp-3.c: New test.
* gcc.target/mips/umips-swp-6.c: New test.
* gcc.target/mips/umips-constraints-2.c: New test.
* gcc.target/mips/umips-save-restore-1.c: New test.
* gcc.target/mips/umips-lwp-4.c: New test.
* gcc.target/mips/umips-swp-7.c: New test.
* gcc.target/mips/umips-save-restore-2.c: New test.
* gcc.target/mips/umips-lwp-swp-volatile.c: New test.
* gcc.target/mips/umips-lwp-5.c: New test.
* gcc.target/mips/umips-save-restore-3.c: New test.
* gcc.target/mips/umips-lwp-6.c: New test.
* gcc.target/mips/umips-swp-1.c: New test.
* gcc.target/mips/umips-lwp-7.c: New test.
* gcc.target/mips/umips-swp-2.c: New test.
* gcc.target/mips/umips-lwp-8.c: New test.
* gcc.target/mips/umips-swp-3.c: New test.
* gcc.target/mips/umips-movep-1.c: New test.
* gcc.target/mips/umips-lwp-1.c: New test.
* gcc.target/mips/umips-swp-4.c: New test.
Co-Authored-By: Chao-ying Fu <fu@mips.com>
Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Maciej W. Rozycki <macro@codesourcery.com>
Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r196828
2013-03-20 15:37:52 +01:00
|
|
|
/* Define if your assembler supports the .set micromips directive */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_MICROMIPS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-12-15 06:10:57 +01:00
|
|
|
/* Define if your assembler supports .nsubspa comdat option. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-12-15 06:10:57 +01:00
|
|
|
#undef HAVE_GAS_NSUBSPA_COMDAT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-12-15 06:10:57 +01:00
|
|
|
|
2004-04-30 20:50:28 +02:00
|
|
|
/* Define if your assembler and linker support 32-bit section relative relocs
|
|
|
|
via '.secrel32 label'. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-04-30 20:50:28 +02:00
|
|
|
#undef HAVE_GAS_PE_SECREL32_RELOC
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-04-30 20:50:28 +02:00
|
|
|
|
2011-09-28 10:07:39 +02:00
|
|
|
/* Define if your assembler supports specifying the section flag e. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_SECTION_EXCLUDE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define 0/1 if your assembler supports marking sections with SHF_MERGE flag.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GAS_SHF_MERGE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-12-22 08:42:43 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports .subsection and .subsection -1 starts
|
|
|
|
emitting at the beginning of your section. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GAS_SUBSECTION_ORDERING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
gcc_AC_C_LONG_LONG): New.
* configure.in: Use them. Probe the size of short, int, long,
and long long/__int64 if we have them. Move all the AC_C_*
checks together, except gcc_AC_C_CHAR_BIT which has to go
after AC_CHECK_HEADERS(limits.h).
Take hwint.h out of host_xm_file and build_xm_file.
* hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
Move the HOST_WIDEST_INT setup logic here from system.h.
Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
defined.
* system.h: Include hwint.h after limits.h. HOST_WIDEST_INT
is now handled by hwint.h.
* config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
config/c4x/xm-c4x.h, config/i370/xm-oe.h,
config/ia64/xm-ia64.h: Don't define any of:
HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
HOST_BITS_PER_LONGLONG.
* config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/mips/iris6.h,
config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
config/sparc/xm-sp64.h: Delete.
* config.gcc: Remove references to deleted files.
* config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
* config/i370/xm-linux.h: Clarify floating-point situation in
a comment.
From-SVN: r40446
2001-03-14 01:58:32 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler supports .weak. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GAS_WEAK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-05-25 21:30:11 +02:00
|
|
|
|
2005-11-09 21:13:41 +01:00
|
|
|
/* Define if your assembler supports .weakref. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GAS_WEAKREF
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if you have the `getchar_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_GETCHAR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `getc_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_GETC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `getrlimit' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GETRLIMIT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GETRUSAGE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
gcc_AC_C_LONG_LONG): New.
* configure.in: Use them. Probe the size of short, int, long,
and long long/__int64 if we have them. Move all the AC_C_*
checks together, except gcc_AC_C_CHAR_BIT which has to go
after AC_CHECK_HEADERS(limits.h).
Take hwint.h out of host_xm_file and build_xm_file.
* hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
Move the HOST_WIDEST_INT setup logic here from system.h.
Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
defined.
* system.h: Include hwint.h after limits.h. HOST_WIDEST_INT
is now handled by hwint.h.
* config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
config/c4x/xm-c4x.h, config/i370/xm-oe.h,
config/ia64/xm-ia64.h: Don't define any of:
HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
HOST_BITS_PER_LONGLONG.
* config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/mips/iris6.h,
config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
config/sparc/xm-sp64.h: Delete.
* config.gcc: Remove references to deleted files.
* config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
* config/i370/xm-linux.h: Clarify floating-point situation in
a comment.
From-SVN: r40446
2001-03-14 01:58:32 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_GETTIMEOFDAY
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
2012-05-25 11:24:08 +02:00
|
|
|
/* Define to 1 if using GNU as. */
|
2007-08-07 20:33:16 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GNU_AS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-10-07 22:28:59 +02:00
|
|
|
/* Define if your system supports gnu indirect functions. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GNU_INDIRECT_FUNCTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2012-05-25 11:24:08 +02:00
|
|
|
/* Define to 1 if using GNU ld. */
|
2007-05-08 02:37:39 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GNU_LD
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2015-10-01 01:06:11 +02:00
|
|
|
/* Define if the gold linker supports split stack and is available as a
|
|
|
|
non-default */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_GOLD_NON_DEFAULT_SPLIT_STACK
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you have the iconv() function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_ICONV
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_C_CHARSET, [...]): New macros.
* aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
gcc_AC_C_FLOAT_FORMAT): New macros.
* configure.in: Add AC_PROG_CPP after CC tests;
gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
* configure, config.in: Regenerate.
* config/a29k/xm-a29k.h, config/arc/xm-arc.h,
config/arm/xm-arm.h, config/c4x/xm-c4x.h,
config/convex/xm-convex.h, config/d30v/xm-d30v.h,
config/i370/xm-linux.h, config/i370/xm-oe.h,
config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
config/m68k/xm-m68k.h, config/mips/xm-mips.h,
config/pa/xm-linux.h, config/pa/xm-pa.h,
config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
config/sparc/xm-sparc.h, config/vax/xm-vax.h,
config/we32k/xm-we32k.h: Delete.
* config/i370/xm-mvs.h, config/m88k/m88k.h,
config/romp/xm-romp.h, config/rs6000/xm-beos.h,
config/vax/xm-vms.h: Don't define any of:
HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
* config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
* config.gcc: Remove references to deleted files.
(i370-*-opened*): Use i370/xm-mvs.h (which now defines only
FATAL_EXIT_CODE, which is the same between oe and mvs).
From-SVN: r40478
2001-03-15 01:13:37 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <iconv.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_ICONV_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
2015-11-09 12:33:30 +01:00
|
|
|
/* Define 0/1 if .init_array/.fini_array sections are available and working.
|
|
|
|
*/
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2012-02-23 11:16:39 +01:00
|
|
|
#undef HAVE_INITFINI_ARRAY_SUPPORT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
2009-09-08 17:21:07 +02:00
|
|
|
/* Define to 1 if the system has the type `intmax_t'. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_INTMAX_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `intptr_t'. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_INTPTR_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
/* Define if you have a working <inttypes.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
#undef HAVE_INTTYPES_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `kill' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_KILL
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-04-24 20:35:45 +02:00
|
|
|
|
2004-10-20 23:36:47 +02:00
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-10-20 23:36:47 +02:00
|
|
|
#undef HAVE_LANGINFO_CODESET
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-10-20 23:36:47 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <langinfo.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LANGINFO_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-07-12 22:03:14 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LC_MESSAGES
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <ldfcn.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LDFCN_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-06-05 00:21:21 +02:00
|
|
|
|
2013-04-15 12:31:57 +02:00
|
|
|
/* Define if your linker supports --as-needed/--no-as-needed or equivalent
|
|
|
|
options. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-04-01 18:45:34 +02:00
|
|
|
#undef HAVE_LD_AS_NEEDED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-04-01 18:45:34 +02:00
|
|
|
|
2015-07-16 10:36:02 +02:00
|
|
|
/* Define if your linker supports -z bndplt */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_BNDPLT_SUPPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-05-01 02:19:24 +02:00
|
|
|
/* Define if your linker supports --build-id. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_BUILDID
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-05-28 13:32:54 +02:00
|
|
|
/* Define if the linker supports clearing hardware capabilities via mapfile.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_CLEARCAP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-06-27 15:48:54 +02:00
|
|
|
/* Define to the level of your linker's compressed debug section support. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_COMPRESS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-07-07 22:29:13 +02:00
|
|
|
/* Define if your linker supports --demangle option. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-07-07 22:29:13 +02:00
|
|
|
#undef HAVE_LD_DEMANGLE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-07-07 22:29:13 +02:00
|
|
|
|
2013-03-21 12:57:35 +01:00
|
|
|
/* Define 0/1 if your linker supports CIE v3 in .eh_frame. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_EH_FRAME_CIEV3
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-12-23 13:08:21 +01:00
|
|
|
/* Define if your linker supports .eh_frame_hdr. */
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LD_EH_FRAME_HDR
|
2001-01-12 05:54:42 +01:00
|
|
|
|
2006-10-28 20:11:28 +02:00
|
|
|
/* Define if your linker supports garbage collection of sections in presence
|
|
|
|
of EH frames. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_EH_GC_SECTIONS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-02-28 16:36:37 +01:00
|
|
|
/* Define if your linker has buggy garbage collection of sections support when
|
|
|
|
.text.startup.foo like sections are used. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_EH_GC_SECTIONS_BUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-06-01 21:12:57 +02:00
|
|
|
/* Define if your PowerPC64 linker supports a large TOC. */
|
invoke.texi: Add mcmodel to powerpc options.
* doc/invoke.texi: Add mcmodel to powerpc options.
* configure.ac: Add HAVE_LD_LARGE_TOC test.
* configure: Regenerate.
* config.in: Regenerate.
* config/rs6000/linux64.opt (mcmodel): New.
* config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define.
(TARGET_CMODEL): Define.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice,
select CMODEL_MEDIUM default.
* config/rs6000/rs6000.h (enum rs6000_cmodel): New.
(TARGET_CMODEL): Define default.
* config/rs6000/rs6000.c (cmodel): New variable.
(rs6000_explicit_options): Add cmodel field.
(rs6000_handle_option): Handle -mcmodel.
(create_TOC_reference): Add largetoc_reg param. Generate high,
lo_sum rtl for CMODEL_MEDIUM and CMODEL_LARGE. Update all callers.
(rs6000_delegitimize_address): Recognise new toc reference rtl
and minimal-toc rtl.
(rs6000_legitimize_reload_address): Handle new toc references.
(print_operand_address): Handle legitimate_constant_pool_address_p
match before lo_sum.
(rs6000_eliminate_indexed_memrefs): Tidy.
(rs6000_emit_move): Tweak threshold for inlining constants.
Keep rs6000_emit_allocate_stack large stack frame offsets
loaded into r0 inline.
(rs6000_generate_compare <cmptf_internal2>): One more clobber.
(tocrel_base, tocrel_offset): New variables.
(toc_relative_expr_p): Set them here.
(print_operand_address): Skip over any offset on constant pool
address.
(rs6000_output_addr_const_extra): Print tocrel_offset before @toc.
(rs6000_mode_dependent_address <LO_SUM>): False for new toc refs.
(offsettable_ok_by_alignment): New function.
(rs6000_emit_move): Address suitably aligned local symbol_refs
relative to the toc pointer for -mcmodel=medium.
(legitimate_constant_pool_address_p): Make param const_rtx. Add
strict param. Allow lo_sum version of addressing. Verify reg
used for -mminimal-toc and -mcmodel != small. Update all callers.
* config/rs6000/constraints.md: Update for above change.
* config/rs6000/predicates.md: Likewise.
* config/rs6000/rs6000.md (tls_gd_aix): Generate -mcmodel=medium/large
code.
(tls_gd): Split for -mcmodel=medium/large.
(tls_gd_high, tls_gd_low): New.
(tls_ld_aix, tls_ld, tls_ld_high, tls_ld_low): Similarly.
(tls_got_dtprel, tls_got_dtprel_high, tls_got_dtprel_low): Similarly.
(tls_got_tprel, tls_got_tprel_high, tls_got_tprel_low): Similarly.
(largetoc_high, largetoc_low): New.
(cmptf_internal2): Add clobber.
* config/rs6000/rs6000-protos.h: Update.
From-SVN: r160773
2010-06-15 09:33:43 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_LARGE_TOC
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-08-21 03:40:00 +02:00
|
|
|
/* Define if your PowerPC64 linker only needs function descriptor syms. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-08-21 03:40:00 +02:00
|
|
|
#undef HAVE_LD_NO_DOT_SYMS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-08-21 03:40:00 +02:00
|
|
|
|
2009-09-20 12:36:05 +02:00
|
|
|
/* Define if your linker can relax absolute .eh_frame personality pointers
|
|
|
|
into PC-relative form. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_PERSONALITY_RELAXATION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2015-09-24 11:00:22 +02:00
|
|
|
/* Define if your linker supports PIE option. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LD_PIE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-01-16 19:16:55 +01:00
|
|
|
|
x86-64: Optimize access to globals in PIE with copy reloc
Normally, with -fPIE/-fpie, GCC accesses globals that are extern to the
module using the GOT. This is two instructions, one to get the address
of the global from the GOT and the other to get the value. If it turns
out that the global gets defined in the executable at link-time, it still
needs to go through the GOT as it is too late then to generate a direct
access.
Examples:
foo.cc
------
int a_glob;
int main () {
return a_glob; // defined in this file
}
With -O2 -fpie -pie, the generated code directly accesses the global via
PC-relative insn:
5e0 <main>:
mov 0x165a(%rip),%eax # 1c40 <a_glob>
foo.cc
------
extern int a_glob;
int main () {
return a_glob; // defined in this file
}
With -O2 -fpie -pie, the generated code accesses global via GOT using
two memory loads:
6f0 <main>:
mov 0x1609(%rip),%rax # 1d00 <_DYNAMIC+0x230>
mov (%rax),%eax
This is true even if in the latter case the global was defined in the
executable through a different file.
Some experiments on google benchmarks shows that the extra memory loads
affects performance by 1% to 5%.
Solution - Copy Relocations:
When the linker supports copy relocations, GCC can always assume that
the global will be defined in the executable. For globals that are truly
extern (come from shared objects), the linker will create copy relocations
and have them defined in the executable. Result is that no global access
needs to go through the GOT and hence improves performance.
This optimization only applies to undefined, non-weak global data.
Undefined, weak global data access still must go through the GOT.
This patch checks if linker supports PIE with copy reloc, which is
enabled in gold and bfd linker in bininutils 2.25, at configure time
and enables this optimization if the linker support is available.
gcc/
* configure.ac (HAVE_LD_PIE_COPYRELOC): Defined to 1 if
Linux/x86-64 linker supports PIE with copy reloc.
* config.in: Regenerated.
* configure: Likewise.
* config/i386/i386.c (legitimate_pic_address_disp_p): Allow
pc-relative address for undefined, non-weak, non-function
symbol reference in 64-bit PIE if linker supports PIE with
copy reloc.
* doc/sourcebuild.texi: Document pie_copyreloc target.
gcc/testsuite/
* gcc.target/i386/pie-copyrelocs-1.c: New test.
* gcc.target/i386/pie-copyrelocs-2.c: Likewise.
* gcc.target/i386/pie-copyrelocs-3.c: Likewise.
* gcc.target/i386/pie-copyrelocs-4.c: Likewise.
* lib/target-supports.exp (check_effective_target_pie_copyreloc):
New procedure.
Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r218397
2014-12-04 20:40:50 +01:00
|
|
|
/* Define 0/1 if your linker supports -pie option with copy reloc. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_PIE_COPYRELOC
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-09-29 00:01:48 +02:00
|
|
|
/* Define if your PowerPC linker has .gnu.attributes long double support. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-09-09 23:38:06 +02:00
|
|
|
/* Define if your linker supports --push-state/--pop-state */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_PUSHPOPSTATE_SUPPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your linker links a mix of read-only and read-write sections into
|
|
|
|
a read-write section. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LD_RO_RW_SECTION_MIXING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-07-18 19:17:03 +02:00
|
|
|
|
2010-06-02 19:39:39 +02:00
|
|
|
/* Define if your linker supports the *_sol2 emulations. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LD_SOL2_EMULATION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-01-31 14:52:42 +01:00
|
|
|
/* Define if your linker supports -Bstatic/-Bdynamic or equivalent options. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-12-16 00:50:26 +01:00
|
|
|
#undef HAVE_LD_STATIC_DYNAMIC
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-12-16 00:50:26 +01:00
|
|
|
|
2005-04-27 22:35:54 +02:00
|
|
|
/* Define if your linker supports --sysroot. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2005-04-27 22:35:54 +02:00
|
|
|
#undef HAVE_LD_SYSROOT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2005-04-27 22:35:54 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LIMITS_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-07-18 19:17:03 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LOCALE_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.
top:
* Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: Delete all former contents.
(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
* progtest.m4: New file.
gcc:
* Makefile.in (top_builddir): Set to "..", not ".".
(INTLLIBS, INTLDEPS): Delete.
(LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
(LIBDEPS): Add $(LIBICONV_DEP).
(LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
(INCLUDES): Replace -I../intl with @INCINTL@.
($(top_builddir)/intl/libintl.a): Delete rule.
(stage2-start, stage3-start, stage4-start, stageprofile-start,
stagefeedback-start): Use $$ for variable to be evaluated by
shell, not make.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
* aclocal.m4: sinclude ../config/progtest.m4. Add
contents of lcmessage.m4 from gettext distro.
* configure.in: Check for wchar.h and setlocale. Set
LIBICONV_DEP to the empty string and substitute it.
Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
in $LIBINTL, to avoid linking it twice.
* configure, config.in: Regenerate.
intl:
* README: Update.
* Makefile.in (INSTALL, INSTALL_DATA, MKINSTALLDIRS,
mkinstalldirs, gettextsrcdir, l): Delete.
(COMPILE): Add $(DEFS-$@), remove $(XCFLAGS).
(HEADERS): libgnuintl.h not libgnuintl.h.in. Remove os2compat.h.
(SOURCES): Remove os2compat.c.
(DEFS-dcigettext.o, DEFS-localealias.o, DEFS-localcharset.o,
DEFS-relocatable.o): New.
(all-yes): Add config.intl.
(libintl.h): Use cp, not cat.
(INCLUDES): Remove -I..
(TAGS, CTAGS, ID): Word wrap.
(mostlyclean, distclean): Remove junk.
(config.intl): New rule.
* aclocal.m4: sinclude ../config/progtest.m4 instead of
including it inline.
* config.intl.in: New file.
* configure.in: Take out unnecessary AC_CONFIG_AUX_DIR.
Take out AC_DEFINEs for LOCALEDIR, LOCALE_ALIAS_PATH,
LIBDIR, INSTALLDIR. Set LIBINTL_DEP and INCINTL and AC_SUBST
them. Add config.intl to AC_OUTPUT.
* os2compat.c, os2compat.h: Delete, unused.
From-SVN: r69071
2003-07-08 07:55:11 +02:00
|
|
|
|
2005-05-25 02:15:21 +02:00
|
|
|
/* Define to 1 if the system has the type `long long'. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_LONG_LONG
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2009-09-08 17:21:07 +02:00
|
|
|
/* Define to 1 if the system has the type `long long int'. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LONG_LONG_INT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-03-16 10:41:16 +01:00
|
|
|
/* Define to the level of your linker's plugin support. */
|
2011-01-31 14:52:42 +01:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_LTO_PLUGIN
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-10-17 16:43:37 +02:00
|
|
|
/* Define to 1 if you have the `madvise' function. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_MADVISE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MALLOC_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `mbstowcs' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MBSTOWCS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if valgrind's memcheck.h header is installed. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MEMCHECK_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MEMORY_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MMAP
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if mmap with MAP_ANON(YMOUS) works. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MMAP_ANON
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if mmap of /dev/zero works. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MMAP_DEV_ZERO
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if read-only mmap of a plain file works. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_MMAP_FILE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `nl_langinfo' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_NL_LANGINFO
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-09-28 09:00:27 +02:00
|
|
|
|
2014-07-30 20:29:41 +02:00
|
|
|
/* Define to 1 if you have the `popen' function. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_POPEN
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
/* Define to 1 if you have the `putchar_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
#undef HAVE_PUTCHAR_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 23:46:59 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `putc_unlocked' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_PUTC_UNLOCKED
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `setlocale' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SETLOCALE
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-10-16 20:05:57 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `setrlimit' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SETRLIMIT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-10-25 01:22:47 +02:00
|
|
|
|
2015-09-24 10:51:39 +02:00
|
|
|
/* Define if the system-provided CRTs are present on Solaris. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_SOLARIS_CRTS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_STDDEF_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_STDINT_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_STDLIB_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_STRINGS_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_STRING_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `strsignal' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_STRSIGNAL
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-04-21 01:06:55 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if <sys/times.h> defines struct tms. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_STRUCT_TMS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-05-23 19:42:19 +02:00
|
|
|
|
2016-01-26 17:34:24 +01:00
|
|
|
/* Define if <utility> defines std::swap. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_SWAP_IN_UTILITY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `sysconf' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYSCONF
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-05-23 19:42:19 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_FILE_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 02:03:37 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_MMAN_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-03-12 13:28:34 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_PARAM_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-01-20 21:41:55 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-04-21 01:06:55 +02:00
|
|
|
|
2011-03-14 20:47:58 +01:00
|
|
|
/* Define if your target C library provides sys/sdt.h */
|
|
|
|
#undef HAVE_SYS_SDT_H
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_STAT_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-04-21 01:06:55 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <sys/times.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_TIMES_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_TIME_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_TYPES_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
|
|
|
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_SYS_WAIT_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `times' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_TIMES
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <time.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_TIME_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-04-21 01:06:55 +02:00
|
|
|
|
2010-12-02 23:43:58 +01:00
|
|
|
/* Define to 1 if you have the <tr1/unordered_map> header file. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_TR1_UNORDERED_MAP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-09-08 17:21:07 +02:00
|
|
|
/* Define to 1 if the system has the type `uintmax_t'. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_UINTMAX_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `uintptr_t'. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_UINTPTR_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_UNISTD_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-11-07 23:48:10 +01:00
|
|
|
|
2010-12-02 23:43:58 +01:00
|
|
|
/* Define to 1 if you have the <unordered_map> header file. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_UNORDERED_MAP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-09-08 17:21:07 +02:00
|
|
|
/* Define to 1 if the system has the type `unsigned long long int'. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_UNSIGNED_LONG_LONG_INT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if valgrind's valgrind/memcheck.h header is installed. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_VALGRIND_MEMCHECK_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_VFORK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_VFORK_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_WCHAR_H
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the `wcswidth' function. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_WCSWIDTH
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-06-05 00:21:21 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if `fork' works. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_WORKING_FORK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
Makefile.in (MACHMODE_H): Add @extra_modes_file@.
* Makefile.in (MACHMODE_H): Add @extra_modes_file@.
* configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def
exists, substitute its pathname as @extra_modes_file@, define
EXTRA_MODES_FILE to be an appropriate string to #include it
with, and define EXTRA_CC_MODES to 1.
* machmode.def: Update comments. Include EXTRA_MODES_FILE if
it's defined. Get rid of redundancy in calling sequence for
CC; don't use it to define CCmode, to avoid a warning.
* libgcc2.c: Include symcat.h for the sake of machmode.def.
* arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def,
i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def,
pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def:
New files.
* arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h,
pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES.
* doc/sourcebuild.texi, doc/tm.texi: Document new scheme for
defining extra CC modes.
From-SVN: r54478
2002-06-11 00:35:56 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define this macro if mbstowcs does not crash when its first argument is
|
|
|
|
NULL. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_WORKING_MBSTOWCS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
top:
* ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
* configure.in, Makefile.in: Take out obsolete check-po logic.
* configure, config.in: Regenerate.
intl:
* Update entire directory from gettext 0.10.40.
* cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
Removed.
* config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
ref-add.sin, ref-del.sin: New.
po:
* Makefile.in.in: Upgrade to gettext-0.10.40.
* cat-id-tbl.c: Remove file.
* stamp-cat-id: Remove file.
From-SVN: r46233
2001-10-12 19:24:30 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if `vfork' works. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef HAVE_WORKING_VFORK
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2016-01-26 17:34:24 +01:00
|
|
|
/* Define if your assembler supports AIX debug frame section label reference.
|
|
|
|
*/
|
2015-10-01 01:06:11 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_XCOFF_DWARF_EXTRAS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-11-03 14:40:50 +01:00
|
|
|
/* Define if isl is in use. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HAVE_isl
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2012-09-13 06:59:14 +02:00
|
|
|
/* Define if F_SETLKW supported by fcntl. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef HOST_HAS_F_SETLKW
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ICONV_CONST
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2014-06-04 14:35:26 +02:00
|
|
|
/* Define if int64_t uses long as underlying type. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef INT64_T_IS_LONG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-11-27 15:29:36 +01:00
|
|
|
/* Define to 1 if ld64 supports '-export_dynamic'. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LD64_HAS_EXPORT_DYNAMIC
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to ld64 version. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LD64_VERSION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-04-15 12:31:57 +02:00
|
|
|
/* Define to the linker option to ignore unused dependencies. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LD_AS_NEEDED_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-06-27 15:48:54 +02:00
|
|
|
/* Define to the linker option to enable compressed debug sections. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LD_COMPRESS_DEBUG_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-01-31 14:52:42 +01:00
|
|
|
/* Define to the linker option to enable use of shared objects. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LD_DYNAMIC_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2013-04-15 12:31:57 +02:00
|
|
|
/* Define to the linker option to keep unused dependencies. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LD_NO_AS_NEEDED_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-01-31 14:52:42 +01:00
|
|
|
/* Define to the linker option to disable use of shared objects. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LD_STATIC_OPTION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-05-11 20:28:14 +02:00
|
|
|
/* The linker hash style */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LINKER_HASH_STYLE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-10-07 22:28:59 +02:00
|
|
|
/* Define to the name of the LTO plugin DSO that must be passed to the
|
|
|
|
linker's -plugin=LIB option. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LTOPLUGINSONAME
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-06-02 21:37:45 +02:00
|
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
|
|
*/
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef LT_OBJDIR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if host mkdir takes a single argument. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef MKDIR_TAKES_ONE_ARG
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2015-09-23 16:52:50 +02:00
|
|
|
/* Define to offload targets, separated by commas. */
|
[PATCH 1/7] OpenMP 4.0 offloading infrastructure: configure and make
* configure: Regenerate.
* configure.ac (--enable-as-accelerator-for)
(--enable-offload-targets): New configure options.
gcc/
* Makefile.in (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): New variables substituted by configure.
(libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
being configured as an offload compiler.
(DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
ACCEL_DIR_SUFFIX.
(install-cpp, install-common, install_driver, install-gcc-ar): Do not
install for the offload compiler.
* config.in: Regenerate.
* configure: Regenerate.
* configure.ac (real_target_noncanonical, accel_dir_suffix)
(enable_as_accelerator): Compute new variables.
(ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
(ENABLE_OFFLOADING): Define if list of offload targets is not empty.
gcc/cp/
* Make-lang.in (c++.install-common): Do not install for the offload
compiler.
gcc/doc/
* install.texi (Options specification): Document
--enable-as-accelerator-for and --enable-offload-targets.
gcc/fortran/
* Make-lang.in (fortran.install-common): Do not install for the offload
compiler.
libgcc/
* Makefile.in (crtoffloadbegin$(objext)): New rule.
(crtoffloadend$(objext)): Likewise.
* configure: Regenerate.
* configure.ac (accel_dir_suffix): Compute new variable.
(extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
if enable_offload_targets is not empty.
* offloadstuff.c: New file.
libgomp/
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for libdl, required for plugin support.
(PLUGIN_SUPPORT): Define if plugins are supported.
(enable_offload_targets): Support Intel MIC targets.
(OFFLOAD_TARGETS): List of target names suitable for offloading.
lto-plugin/
* Makefile.am (libexecsubdir): Tweak for the possibility of being
configured for offload compiler.
(accel_dir_suffix, real_target_noncanonical): New variables substituted
by configure.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
variables.
Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
From-SVN: r217485
2014-11-13 14:28:56 +01:00
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef OFFLOAD_TARGETS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef PACKAGE_BUGREPORT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-05-15 03:45:10 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to the full name of this package. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef PACKAGE_NAME
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-09-11 18:50:05 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to the full name and version of this package. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef PACKAGE_STRING
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
configure.in (HAVE_AS_TLS): New test.
* configure.in (HAVE_AS_TLS): New test.
* config.in, configure: Rebuild.
* config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
(ix86_tls_dialect_string, ix86_tls_dialect): New.
(override_options): Set it.
(tls_model_chars, tls_symbolic_operand): New.
(tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
(local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
(local_exec_symbolic_operand): New.
(get_pic_label_name): Merge into output_set_got.
(ix86_asm_file_end): Emit pic_label_name if defined.
(legitimate_constant_p, constant_address_p): New.
(legitimate_pic_operand_p): New.
(legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
(legitimate_address_p): Likewise.
(ix86_encode_section_info): Rename from i386_; handle tls decls.
(ix86_strip_name_encoding): New.
(get_thread_pointer): New.
(legitimize_address): Handle tls symbols.
(output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
Remove UNSPEC_PLT.
(struct machine_function): Add some_ld_name.
(get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
(print_operand) [&]: Use it. Handle UNSPEC_TP.
(output_addr_const_extra): New.
(maybe_get_pool_constant): New.
(ix86_split_to_parts): Use it.
(ix86_expand_move): Handle tls symbols.
(ix86_tls_get_addr): New.
* config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
(TARGET_OPTIONS): Add tls-dialect.
(CONSTANT_ADDRESS_P): Use new out-of-line function.
(LEGITIMATE_CONSTANT_P): Likewise.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
(TARGET_STRIP_NAME_ENCODING): New.
(ASM_OUTPUT_LABELREF): New.
(PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
(OUTPUT_ADDR_CONST_EXTRA): New.
(PREDICATE_CODES): Update.
(ix86_tls_dialect, ix86_tls_dialect_string): New.
* config/i386/i386.md: Regroup and renumber unspec constants.
(tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
(tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
(tls_global_dynamic, tls_local_dynamic_base): New.
(tls_local_dynamic_once): New.
* config/i386/i386-protos.h: Update.
From-SVN: r53812
2002-05-23 23:55:30 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to the one symbol short name of this package. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef PACKAGE_TARNAME
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-12-16 02:05:01 +01:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to the version of this package. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef PACKAGE_VERSION
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2009-11-08 23:36:51 +01:00
|
|
|
/* Specify plugin linker */
|
|
|
|
#ifndef USED_FOR_TARGET
|
2012-05-07 21:59:56 +02:00
|
|
|
#undef PLUGIN_LD_SUFFIX
|
2009-11-08 23:36:51 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2015-04-28 05:47:19 +02:00
|
|
|
/* Define to .TOC. alignment forced by your linker. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef POWERPC64_TOC_POINTER_ALIGNMENT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to PREFIX/include if cpp should also search that directory. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef PREFIX_INCLUDE_DIR
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-06-09 16:31:54 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* The size of `int', as computed by sizeof. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef SIZEOF_INT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-12-28 10:55:14 +01:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* The size of `long', as computed by sizeof. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef SIZEOF_LONG
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-04-04 00:21:12 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* The size of `long long', as computed by sizeof. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef SIZEOF_LONG_LONG
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
From-SVN: r33389
2000-04-24 23:20:14 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* The size of `short', as computed by sizeof. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef SIZEOF_SHORT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-07-12 22:03:14 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* The size of `void *', as computed by sizeof. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef SIZEOF_VOID_P
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-09-04 23:38:59 +02:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef STDC_HEADERS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-03-02 23:15:51 +01:00
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if you can safely include both <string.h> and <strings.h>. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef STRING_WITH_STRINGS
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2003-07-08 03:45:30 +02:00
|
|
|
|
2006-02-23 09:58:22 +01:00
|
|
|
/* Define if TFmode long double should be the default */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef TARGET_DEFAULT_LONG_DOUBLE_128
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-12-23 13:08:21 +01:00
|
|
|
/* Define if your target C library provides the `dl_iterate_phdr' function. */
|
|
|
|
#undef TARGET_DL_ITERATE_PHDR
|
|
|
|
|
2014-11-03 14:40:50 +01:00
|
|
|
/* GNU C Library major version number used on the target, or 0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef TARGET_GLIBC_MAJOR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* GNU C Library minor version number used on the target, or 0. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef TARGET_GLIBC_MINOR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-01-20 21:30:24 +01:00
|
|
|
/* Define if your target C Library provides the AT_HWCAP value in the TCB */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef TARGET_LIBC_PROVIDES_HWCAP_IN_TCB
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
Makefile.def (target_modules): Add libssp.
* Makefile.def (target_modules): Add libssp.
* configure.in (target_libraries): Add target-libssp.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
gcc/
* gcc.c (LINK_SSP_SPEC): Define.
(link_ssp_spec): New variable.
(LINK_COMMAND_SPEC): Add %(link_ssp).
(static_specs): Add link_ssp_spec.
* configure.ac (TARGET_LIBC_PROVIDES_SSP): New test.
* configure: Rebuilt.
* config.in: Rebuilt.
* config/rs6000/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
* config/rs6000/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
* config/i386/linux.h (TARGET_THREAD_SSP_OFFSET): Likewise.
* config/i386/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
* config/rs6000/rs6000.md (stack_protect_set, stack_protect_test):
If TARGET_THREAD_SSP_OFFSET is defined, use -0x7010(13) resp.
-0x7008(2) instead of reading __stack_chk_guard variable.
* config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): Change
number.
(UNSPEC_SP_TLS_SET, UNSPEC_SP_TLS_TEST): New constants.
(stack_protect_set, stack_protect_test): Use *_tls* patterns
if TARGET_THREAD_SSP_OFFSET is defined.
(stack_tls_protect_set_si, stack_tls_protect_set_di,
stack_tls_protect_test_si, stack_tls_protect_test_di): New insns.
Revert:
2005-06-27 Richard Henderson <rth@redhat.com>
* libgcc-std.ver (GCC_4.1.0): New.
* libgcc.h (__stack_chk_guard): Declare.
(__stack_chk_fail, __stack_chk_fail_local): Declare.
* libgcc2.c (L_stack_chk, L_stack_chk_local): New.
* mklibgcc.in (lib2funcs): Add them.
From-SVN: r101531
2005-07-02 10:52:21 +02:00
|
|
|
/* Define if your target C library provides stack protector support */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef TARGET_LIBC_PROVIDES_SSP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef TIME_WITH_SYS_TIME
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2000-11-18 00:53:38 +01:00
|
|
|
|
2010-03-24 19:49:49 +01:00
|
|
|
/* Define to the flag used to mark TLS sections if the default (`T') doesn't
|
|
|
|
work. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef TLS_SECTION_ASM_FLAG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define if your assembler mis-optimizes .eh_frame data. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef USE_AS_TRADITIONAL_FORMAT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-11-20 11:16:09 +01:00
|
|
|
|
2009-12-01 00:22:04 +01:00
|
|
|
/* Define if you want to generate code by default that assumes that the Cygwin
|
|
|
|
DLL exports wrappers to support libstdc++ function replacement. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef USE_CYGWIN_LIBSTDCXX_WRAPPERS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2014-05-26 10:19:02 +02:00
|
|
|
/* Define to 1 if the 'long long' type is wider than 'long' but still
|
|
|
|
efficiently supported by the host hardware. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-08-31 02:29:04 +02:00
|
|
|
#undef USE_LONG_LONG_FOR_WIDEST_FAST_INT
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-08-31 02:29:04 +02:00
|
|
|
|
2010-04-27 19:48:58 +02:00
|
|
|
/* Define if we should use leading underscore on 64 bit mingw targets */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef USE_MINGW64_LEADING_UNDERSCORES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable threading extensions on Solaris. */
|
|
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
#endif
|
|
|
|
/* Enable extensions on HP NonStop. */
|
|
|
|
#ifndef _TANDEM_SOURCE
|
|
|
|
# undef _TANDEM_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable general extensions on Solaris. */
|
|
|
|
#ifndef __EXTENSIONS__
|
|
|
|
# undef __EXTENSIONS__
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
/* Define to be the last component of the Windows registry key under which to
|
|
|
|
look for installation paths. The full key used will be
|
|
|
|
HKEY_LOCAL_MACHINE/SOFTWARE/Free Software Foundation/{WIN32_REGISTRY_KEY}.
|
|
|
|
The default is the GCC version number. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef WIN32_REGISTRY_KEY
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2002-11-26 13:34:25 +01:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
# if defined __BIG_ENDIAN__
|
|
|
|
# define WORDS_BIGENDIAN 1
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# ifndef WORDS_BIGENDIAN
|
|
|
|
# undef WORDS_BIGENDIAN
|
|
|
|
# endif
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2010-11-03 03:45:25 +01:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-03-27 10:46:19 +01:00
|
|
|
/* Define to 1 if on MINIX. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2008-03-27 10:46:19 +01:00
|
|
|
#undef _MINIX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
|
|
this defined. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef _POSIX_1_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef _POSIX_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-09-08 17:21:07 +02:00
|
|
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef _UINT32_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef _UINT64_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef _UINT8_T
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-07-07 20:58:39 +02:00
|
|
|
/* Define to `char *' if <sys/types.h> does not define. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef caddr_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-03-08 01:32:37 +01:00
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
|
|
#ifndef __cplusplus
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef inline
|
2004-03-08 01:32:37 +01:00
|
|
|
#endif
|
2004-01-09 02:18:35 +01:00
|
|
|
|
2009-09-08 17:21:07 +02:00
|
|
|
/* Define to the type of a signed integer type of width exactly 16 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef int16_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef int32_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type of width exactly 64 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef int64_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type of width exactly 8 bits if such
|
|
|
|
a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef int8_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
|
|
|
|
not define. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef intmax_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of a signed integer type wide enough to hold a pointer,
|
|
|
|
if such a type exists, and if the system does not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef intptr_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef pid_t
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2001-11-27 16:36:24 +01:00
|
|
|
|
2008-06-02 21:37:45 +02:00
|
|
|
/* Define to `long' if <sys/resource.h> doesn't define. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef rlim_t
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef ssize_t
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
2009-09-08 17:21:07 +02:00
|
|
|
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef uint16_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef uint32_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef uint64_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef uint8_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
|
|
|
|
do not define. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef uintmax_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type wide enough to hold a
|
|
|
|
pointer, if such a type exists, and if the system does not define it. */
|
|
|
|
#ifndef USED_FOR_TARGET
|
|
|
|
#undef uintptr_t
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
2005-05-08 12:13:19 +02:00
|
|
|
#ifndef USED_FOR_TARGET
|
2004-01-09 02:18:35 +01:00
|
|
|
#undef vfork
|
2005-05-08 12:13:19 +02:00
|
|
|
#endif
|
|
|
|
|