mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
5be7b66998
1. Integrate with GCC build. 2. Disable static trampolines by default. 3. Support multilib. * Makefile.am (AUTOMAKE_OPTIONS): Add info-in-builddir. (ACLOCAL_AMFLAGS): Set to -I .. -I ../config. (SUBDIRS): Don't add doc. (TEXINFO_TEX): New. (MAKEINFOFLAGS): Likewise. (info_TEXINFOS): Likewise. (STAMP_GENINSRC): Likewise. (STAMP_BUILD_INFO): Likewise. (all-local): Likewise. (stamp-geninsrc): Likewise. (doc/libffi.info): Likewise. (stamp-build-info:): Likewise. (CLEANFILES): Likewise. (MAINTAINERCLEANFILES): Likewise. (AM_MAKEFLAGS): Likewise. (all-recursive): Likewise. (install-recursive): Likewise. (mostlyclean-recursive): Likewise. (clean-recursive): Likewise. (distclean-recursive): Likewise. (maintainer-clean-recursive): Likewise. (LTLDFLAGS): Replace libtool-ldflags with ../libtool-ldflags. (AM_CFLAGS): Add -g -fexceptions. (libffi.map-sun): Replace make_sunver.pl with ../contrib/make_sunver.pl. (dist-hook): Removed. Include $(top_srcdir)/../multilib.am. * configure.ac: Add AM_ENABLE_MULTILIB. Remove the frv*-elf check. (AX_ENABLE_BUILDDIR): Removed. (AM_INIT_AUTOMAKE): Add [no-dist]. Add --enable-generated-files-in-srcdir. (C_CONFIG_MACRO_DIR): Removed. (AX_COMPILER_VENDOR): Likewise. (AX_CC_MAXOPT): Likewise. (AX_CFLAGS_WARN_ALL): Likewise. Remove the GCC check. (SYMBOL_UNDERSCORE): Removed. (AX_CHECK_COMPILE_FLAG): Likewise. Remove --disable-docs. (ACX_CHECK_PROG_VER): Check makeinfo. (BUILD_DOCS): Updated. (exec-static-tramp): Don't enable use of static exec trampolines by default. Remove --disable-multi-os-directory. (GCC_WITH_TOOLEXECLIBDIR): New. Support cross host. Support --enable-multilib. * include/Makefile.am (nodist_include_HEADERS): Removed. (gcc_version): New. (toollibffidir): Likewise. (toollibffi_HEADERS): Likewise. * Makefile.in: Regenerate. (GCC_BASE_VER): New. (AC_CONFIG_FILES): Remove doc/Makefile. (AC_CONFIG_LINKS): New. * aclocal.m4: Likewise. * configure: Likewise. * fficonfig.h.in: Likewise. * mdate-sh: Likewise. * include/Makefile.in: Likewise. * man/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise.
228 lines
6.1 KiB
C
228 lines
6.1 KiB
C
/* fficonfig.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
*/
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
#undef C_ALLOCA
|
|
|
|
/* Define to the flags needed for the .section .eh_frame directive. */
|
|
#undef EH_FRAME_FLAGS
|
|
|
|
/* Define this if you want extra debugging. */
|
|
#undef FFI_DEBUG
|
|
|
|
/* Define this if you want statically defined trampolines */
|
|
#undef FFI_EXEC_STATIC_TRAMP
|
|
|
|
/* Cannot use PROT_EXEC on this target, so, we revert to alternative means */
|
|
#undef FFI_EXEC_TRAMPOLINE_TABLE
|
|
|
|
/* Define this if you want to enable pax emulated trampolines */
|
|
#undef FFI_MMAP_EXEC_EMUTRAMP_PAX
|
|
|
|
/* Cannot use malloc on this target, so, we revert to alternative means */
|
|
#undef FFI_MMAP_EXEC_WRIT
|
|
|
|
/* Define this if you do not want support for the raw API. */
|
|
#undef FFI_NO_RAW_API
|
|
|
|
/* Define this if you do not want support for aggregate types. */
|
|
#undef FFI_NO_STRUCTS
|
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
#undef HAVE_ALLOCA
|
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
*/
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
/* Define if your assembler supports .cfi_* directives. */
|
|
#undef HAVE_AS_CFI_PSEUDO_OP
|
|
|
|
/* Define if your assembler supports .register. */
|
|
#undef HAVE_AS_REGISTER_PSEUDO_OP
|
|
|
|
/* Define if the compiler uses zarch features. */
|
|
#undef HAVE_AS_S390_ZARCH
|
|
|
|
/* Define if your assembler and linker support unaligned PC relative relocs.
|
|
*/
|
|
#undef HAVE_AS_SPARC_UA_PCREL
|
|
|
|
/* Define if your assembler supports unwind section type. */
|
|
#undef HAVE_AS_X86_64_UNWIND_SECTION_TYPE
|
|
|
|
/* Define if your assembler supports PC relative relocs. */
|
|
#undef HAVE_AS_X86_PCREL
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#undef HAVE_DLFCN_H
|
|
|
|
/* Define if __attribute__((visibility("hidden"))) is supported. */
|
|
#undef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define if you have the long double type and it is bigger than a double */
|
|
#undef HAVE_LONG_DOUBLE
|
|
|
|
/* Define if you support more than one size of the long double type */
|
|
#undef HAVE_LONG_DOUBLE_VARIANT
|
|
|
|
/* Define to 1 if you have the `memcpy' function. */
|
|
#undef HAVE_MEMCPY
|
|
|
|
/* Define to 1 if you have the `memfd_create' function. */
|
|
#undef HAVE_MEMFD_CREATE
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if you have the `mkostemp' function. */
|
|
#undef HAVE_MKOSTEMP
|
|
|
|
/* Define to 1 if you have the `mkstemp' function. */
|
|
#undef HAVE_MKSTEMP
|
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
|
#undef HAVE_MMAP
|
|
|
|
/* Define if mmap with MAP_ANON(YMOUS) works. */
|
|
#undef HAVE_MMAP_ANON
|
|
|
|
/* Define if mmap of /dev/zero works. */
|
|
#undef HAVE_MMAP_DEV_ZERO
|
|
|
|
/* Define if read-only mmap of a plain file works. */
|
|
#undef HAVE_MMAP_FILE
|
|
|
|
/* Define if your compiler supports pointer authentication. */
|
|
#undef HAVE_PTRAUTH
|
|
|
|
/* Define if .eh_frame sections should be read-only. */
|
|
#undef HAVE_RO_EH_FRAME
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/memfd.h> header file. */
|
|
#undef HAVE_SYS_MEMFD_H
|
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if GNU symbol versioning is used for libatomic. */
|
|
#undef LIBFFI_GNU_SYMBOL_VERSIONING
|
|
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
*/
|
|
#undef LT_OBJDIR
|
|
|
|
/* Name of package */
|
|
#undef PACKAGE
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* The size of `double', as computed by sizeof. */
|
|
#undef SIZEOF_DOUBLE
|
|
|
|
/* The size of `long double', as computed by sizeof. */
|
|
#undef SIZEOF_LONG_DOUBLE
|
|
|
|
/* The size of `size_t', as computed by sizeof. */
|
|
#undef SIZEOF_SIZE_T
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at runtime.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
#undef STACK_DIRECTION
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define this if you are using Purify and want to suppress spurious messages.
|
|
*/
|
|
#undef USING_PURIFY
|
|
|
|
/* Version number of package */
|
|
#undef VERSION
|
|
|
|
/* 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
|
|
#endif
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
#undef size_t
|
|
|
|
|
|
#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
|
|
#ifdef LIBFFI_ASM
|
|
#ifdef __APPLE__
|
|
#define FFI_HIDDEN(name) .private_extern name
|
|
#else
|
|
#define FFI_HIDDEN(name) .hidden name
|
|
#endif
|
|
#else
|
|
#define FFI_HIDDEN __attribute__ ((visibility ("hidden")))
|
|
#endif
|
|
#else
|
|
#ifdef LIBFFI_ASM
|
|
#define FFI_HIDDEN(name)
|
|
#else
|
|
#define FFI_HIDDEN
|
|
#endif
|
|
#endif
|
|
|