Commit 1072ec3f by Zack Weinberg

re PR bootstrap/3163 ([3.3 Only] gcc/aclocal.m4 mmap test fails on UnixWare 7.1.1)

	PR bootstrap/3163
	* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
	(gcc_AC_FUNC_MMAP_BLACKLIST): New.
	* configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
	and AC_CHECK_FUNCS lists, respectively.  Use
	gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
	AC_FUNC_MMAP_FILE.
	* configure, config.in: Regenerate.

From-SVN: r67467
parent 88d5a16e
2003-06-04 Zack Weinberg <zack@codesourcery.com>
PR bootstrap/3163
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
(gcc_AC_FUNC_MMAP_BLACKLIST): New.
* configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
and AC_CHECK_FUNCS lists, respectively. Use
gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
AC_FUNC_MMAP_FILE.
* configure, config.in: Regenerate.
2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning. * arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
...@@ -9,8 +20,8 @@ ...@@ -9,8 +20,8 @@
2003-06-04 Richard Henderson <rth@redhat.com> 2003-06-04 Richard Henderson <rth@redhat.com>
* cse.c (find_best_addr): Consider binary operators even if second * cse.c (find_best_addr): Consider binary operators even if second
argument is not CONST_INT. argument is not CONST_INT.
2003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
...@@ -27,7 +38,7 @@ ...@@ -27,7 +38,7 @@
2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* i370.c (mvs_function_name_length): Fix signed/unsigned warnings. * i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
* i370.h (mvs_function_name_length): Likewise. * i370.h (mvs_function_name_length): Likewise.
* i960.h (CONSTANT_ALIGNMENT): Likewise. * i960.h (CONSTANT_ALIGNMENT): Likewise.
* mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
...@@ -72,8 +83,8 @@ ...@@ -72,8 +83,8 @@
2003-06-04 Aldy Hernandez <aldyh@redhat.com> 2003-06-04 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack * config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
complex numbers <= 32 bits into two registers. complex numbers <= 32 bits into two registers.
2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
...@@ -83,7 +94,7 @@ ...@@ -83,7 +94,7 @@
* arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. * arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
* arm/pe.h (ASM_OUTPUT_COMMON): Likewise. * arm/pe.h (ASM_OUTPUT_COMMON): Likewise.
* avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL, * avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_SKIP): Likewise. ASM_OUTPUT_SKIP): Likewise.
* c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON): * h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON):
...@@ -113,15 +124,15 @@ ...@@ -113,15 +124,15 @@
2003-06-04 Richard Henderson <rth@redhat.com> 2003-06-04 Richard Henderson <rth@redhat.com>
* c-common.c (handle_cleanup_attribute): New. * c-common.c (handle_cleanup_attribute): New.
(c_common_attributes): Add it. (c_common_attributes): Add it.
* c-decl.c (finish_decl): Honor the cleanup attribute. * c-decl.c (finish_decl): Honor the cleanup attribute.
* doc/extend.texi (Variable Attributes): Document it. * doc/extend.texi (Variable Attributes): Document it.
* unwind-c.c: New file. * unwind-c.c: New file.
* Makefile.in (LIB2ADDEH): Add it. * Makefile.in (LIB2ADDEH): Add it.
* config/t-darwin, config/t-linux, config/t-linux-gnulibc1, * config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
config/ia64/t-ia64: Likewise. config/ia64/t-ia64: Likewise.
2003-06-04 Jakub Jelinek <jakub@redhat.com> 2003-06-04 Jakub Jelinek <jakub@redhat.com>
...@@ -362,7 +373,7 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz> ...@@ -362,7 +373,7 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz>
* doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH, * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
* dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM. * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
(dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL. (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
(dbxout_block): Remove usage of DBX_OUTPUT_CATCH. (dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
...@@ -390,7 +401,7 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz> ...@@ -390,7 +401,7 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz>
(frame_dummy): Likewise. (frame_dummy): Likewise.
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise. * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
* system.h: Poison CRT_GET_RFIB_TEXT. * system.h: Poison CRT_GET_RFIB_TEXT.
* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code. * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
* fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables. * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
...@@ -493,27 +504,27 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz> ...@@ -493,27 +504,27 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz>
2003-06-03 Aldy Hernandez <aldyh@redhat.com> 2003-06-03 Aldy Hernandez <aldyh@redhat.com>
* function.c (assign_parms): Split complex arguments. * function.c (assign_parms): Split complex arguments.
* doc/tm.texi (SPLIT_COMPLEX_ARGS): Document. * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.
* expr.h (SPLIT_COMPLEX_ARGS): Define. * expr.h (SPLIT_COMPLEX_ARGS): Define.
(split_complex_types): Protoize. (split_complex_types): Protoize.
(split_complex_values): Protoize. (split_complex_values): Protoize.
* calls.c (expand_call): Split complex arguments on architectures * calls.c (expand_call): Split complex arguments on architectures
that require it. that require it.
(split_complex_values): New. (split_complex_values): New.
(split_complex_types): New. (split_complex_types): New.
* config/rs6000/rs6000.c (rs6000_libcall_value): New. * config/rs6000/rs6000.c (rs6000_libcall_value): New.
(rs6000_function_value): Handle complex values on AIX. (rs6000_function_value): Handle complex values on AIX.
(rs6000_complex_function_value): New. (rs6000_complex_function_value): New.
* config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize. * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.
* config/rs6000/rs6000.h (LIBCALL_VALUE): Call function. * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
(SPLIT_COMPLEX_ARGS): New. (SPLIT_COMPLEX_ARGS): New.
2003-06-03 Jakub Jelinek <jakub@redhat.com> 2003-06-03 Jakub Jelinek <jakub@redhat.com>
...@@ -626,7 +637,7 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz> ...@@ -626,7 +637,7 @@ Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz>
2003-06-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> 2003-06-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* gcc/config.gcc Add support multilib parts for m32rx processor. * gcc/config.gcc Add support multilib parts for m32rx processor.
2003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
......
/* config.in. Generated automatically from configure.in by autoheader. */ /* config.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if using alloca.c. */ /* Define if using alloca.c. */
#undef C_ALLOCA #undef C_ALLOCA
...@@ -141,9 +141,6 @@ ...@@ -141,9 +141,6 @@
/* Define if you have the getgid function. */ /* Define if you have the getgid function. */
#undef HAVE_GETGID #undef HAVE_GETGID
/* Define if you have the getpagesize function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the getrlimit function. */ /* Define if you have the getrlimit function. */
#undef HAVE_GETRLIMIT #undef HAVE_GETRLIMIT
...@@ -168,6 +165,9 @@ ...@@ -168,6 +165,9 @@
/* Define if you have the mempcpy function. */ /* Define if you have the mempcpy function. */
#undef HAVE_MEMPCPY #undef HAVE_MEMPCPY
/* Define if you have the mmap function. */
#undef HAVE_MMAP
/* Define if you have the munmap function. */ /* Define if you have the munmap function. */
#undef HAVE_MUNMAP #undef HAVE_MUNMAP
...@@ -264,6 +264,9 @@ ...@@ -264,6 +264,9 @@
/* Define if you have the <sys/file.h> header file. */ /* Define if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H #undef HAVE_SYS_FILE_H
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */ /* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H #undef HAVE_SYS_PARAM_H
...@@ -362,12 +365,6 @@ ...@@ -362,12 +365,6 @@
/* Define if valgrind's memcheck.h header is installed. */ /* Define if valgrind's memcheck.h header is installed. */
#undef HAVE_MEMCHECK_H #undef HAVE_MEMCHECK_H
/* 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. */
#undef DEFAULT_USE_CXA_ATEXIT
/* Define if you want the C and C++ compilers to support multibyte /* Define if you want the C and C++ compilers to support multibyte
character sets for source code. */ character sets for source code. */
#undef MULTIBYTE_CHARS #undef MULTIBYTE_CHARS
...@@ -404,15 +401,15 @@ ...@@ -404,15 +401,15 @@
/* Define if printf supports %p. */ /* Define if printf supports %p. */
#undef HAVE_PRINTF_PTR #undef HAVE_PRINTF_PTR
/* Define if mmap can get us zeroed pages from /dev/zero. */ /* Define if read-only mmap of a plain file works. */
#undef HAVE_MMAP_FILE
/* Define if mmap of /dev/zero works. */
#undef HAVE_MMAP_DEV_ZERO #undef HAVE_MMAP_DEV_ZERO
/* Define if mmap can get us zeroed pages using MAP_ANON(YMOUS). */ /* Define if mmap with MAP_ANON(YMOUS) works. */
#undef HAVE_MMAP_ANON #undef HAVE_MMAP_ANON
/* Define if read-only mmap of a plain file works. */
#undef HAVE_MMAP_FILE
/* Define if you have the iconv() function. */ /* Define if you have the iconv() function. */
#undef HAVE_ICONV #undef HAVE_ICONV
...@@ -527,6 +524,12 @@ ...@@ -527,6 +524,12 @@
/* Define to 1 if HOST_WIDE_INT must be 64 bits wide (see hwint.h). */ /* Define to 1 if HOST_WIDE_INT must be 64 bits wide (see hwint.h). */
#undef NEED_64BIT_HOST_WIDE_INT #undef NEED_64BIT_HOST_WIDE_INT
/* 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. */
#undef DEFAULT_USE_CXA_ATEXIT
/* Define to the name of a file containing a list of extra machine modes /* Define to the name of a file containing a list of extra machine modes
for this architecture. */ for this architecture. */
#undef EXTRA_MODES_FILE #undef EXTRA_MODES_FILE
......
...@@ -699,7 +699,7 @@ gcc_AC_HEADER_STDBOOL ...@@ -699,7 +699,7 @@ gcc_AC_HEADER_STDBOOL
gcc_AC_HEADER_STRING gcc_AC_HEADER_STRING
AC_HEADER_SYS_WAIT AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h \ AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h \
fcntl.h unistd.h sys/file.h sys/time.h \ fcntl.h unistd.h sys/file.h sys/time.h sys/mman.h \
sys/resource.h sys/param.h sys/times.h sys/stat.h \ sys/resource.h sys/param.h sys/times.h sys/stat.h \
direct.h malloc.h langinfo.h ldfcn.h wchar.h) direct.h malloc.h langinfo.h ldfcn.h wchar.h)
...@@ -800,7 +800,7 @@ dnl gcc_AC_C_ENUM_BF_UNSIGNED ...@@ -800,7 +800,7 @@ dnl gcc_AC_C_ENUM_BF_UNSIGNED
AC_CHECK_FUNCS(times clock dup2 kill getrlimit setrlimit atoll atoq \ AC_CHECK_FUNCS(times clock dup2 kill getrlimit setrlimit atoll atoq \
sysconf strsignal putc_unlocked fputc_unlocked fputs_unlocked \ sysconf strsignal putc_unlocked fputc_unlocked fputs_unlocked \
fwrite_unlocked fprintf_unlocked getrusage nl_langinfo lstat \ fwrite_unlocked fprintf_unlocked getrusage nl_langinfo lstat \
scandir alphasort gettimeofday mbstowcs wcswidth) scandir alphasort gettimeofday mbstowcs wcswidth mmap)
if test x$ac_cv_func_mbstowcs = xyes; then if test x$ac_cv_func_mbstowcs = xyes; then
AC_CACHE_CHECK(whether mbstowcs works, gcc_cv_func_mbstowcs_works, AC_CACHE_CHECK(whether mbstowcs works, gcc_cv_func_mbstowcs_works,
...@@ -843,6 +843,7 @@ fi ...@@ -843,6 +843,7 @@ fi
AC_SUBST(TARGET_GETGROUPS_T) AC_SUBST(TARGET_GETGROUPS_T)
gcc_AC_FUNC_PRINTF_PTR gcc_AC_FUNC_PRINTF_PTR
gcc_AC_FUNC_MMAP_BLACKLIST
case "${host}" in case "${host}" in
*-*-uwin*) *-*-uwin*)
...@@ -858,8 +859,6 @@ case "${host}" in ...@@ -858,8 +859,6 @@ case "${host}" in
;; ;;
esac esac
AC_FUNC_VFORK AC_FUNC_VFORK
AC_FUNC_MMAP_ANYWHERE
AC_FUNC_MMAP_FILE
AM_ICONV AM_ICONV
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment