Sync config/ from GCC:
--- config/ChangeLog +++ config/ChangeLog @@ -19,6 +19,10 @@ * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when cross-compiling. +2009-06-25 Olivier Hainque <hainque@adacore.com> + + * config/mh-ppc-aix (BOOT_ADAFLAGS): Remove -mminimal-toc. + 2009-05-26 Rafael Avila de Espindola <espindola@google.com> * plugins.m4: New. @@ -39,6 +43,27 @@ "# no Tcl configs found". (SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR. +2009-04-09 Jakub Jelinek <jakub@redhat.com> + + * lead-dot.m4: Change copyright header to refer to version + 3 of the GNU General Public License and to point readers at the + COPYING3 file and the FSF's license web page. + * warnings.m4: Likewise. + +2009-02-11 Kai Tietz <kai.tietz@onevision.com> + + * mh-cygwin (LDFLAGS): Add linker option to increase stack limit + up to 8MB. + +2009-01-23 Jie Zhang <jie.zhang@analog.com> + + * tls.m4 (GCC_CHECK_EMUTLS): Define. + +2008-12-21 Andrew Pinski <pinskia@gmail.com> + + PR target/38300 + * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo. + 2008-11-21 Kai Tietz <kai.tietz@onevision.com> Fix PR/25502
This commit is contained in:
parent
8484e111d5
commit
b17d0de476
|
@ -19,6 +19,10 @@
|
||||||
* tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
|
* tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
|
||||||
cross-compiling.
|
cross-compiling.
|
||||||
|
|
||||||
|
2009-06-25 Olivier Hainque <hainque@adacore.com>
|
||||||
|
|
||||||
|
* config/mh-ppc-aix (BOOT_ADAFLAGS): Remove -mminimal-toc.
|
||||||
|
|
||||||
2009-05-26 Rafael Avila de Espindola <espindola@google.com>
|
2009-05-26 Rafael Avila de Espindola <espindola@google.com>
|
||||||
|
|
||||||
* plugins.m4: New.
|
* plugins.m4: New.
|
||||||
|
@ -39,6 +43,27 @@
|
||||||
"# no Tcl configs found".
|
"# no Tcl configs found".
|
||||||
(SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.
|
(SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.
|
||||||
|
|
||||||
|
2009-04-09 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* lead-dot.m4: Change copyright header to refer to version
|
||||||
|
3 of the GNU General Public License and to point readers at the
|
||||||
|
COPYING3 file and the FSF's license web page.
|
||||||
|
* warnings.m4: Likewise.
|
||||||
|
|
||||||
|
2009-02-11 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
|
* mh-cygwin (LDFLAGS): Add linker option to increase stack limit
|
||||||
|
up to 8MB.
|
||||||
|
|
||||||
|
2009-01-23 Jie Zhang <jie.zhang@analog.com>
|
||||||
|
|
||||||
|
* tls.m4 (GCC_CHECK_EMUTLS): Define.
|
||||||
|
|
||||||
|
2008-12-21 Andrew Pinski <pinskia@gmail.com>
|
||||||
|
|
||||||
|
PR target/38300
|
||||||
|
* unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo.
|
||||||
|
|
||||||
2008-11-21 Kai Tietz <kai.tietz@onevision.com>
|
2008-11-21 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
Fix PR/25502
|
Fix PR/25502
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# -*- Autoconf -*-
|
# -*- Autoconf -*-
|
||||||
# Copyright (C) 2003 Free Software Foundation, Inc.
|
# Copyright (C) 2003, 2009 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# the Free Software Foundation; either version 3, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
@ -12,9 +12,8 @@
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; see the file COPYING3. If not see
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
# <http://www.gnu.org/licenses/>.
|
||||||
# 02110-1301, USA.
|
|
||||||
|
|
||||||
# serial 1
|
# serial 1
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
EXTRA_TARGET_HOST_ALL_MODULES=maybe-all-libtermcap
|
EXTRA_TARGET_HOST_ALL_MODULES=maybe-all-libtermcap
|
||||||
EXTRA_TARGET_HOST_INSTALL_MODULES=maybe-install-libtermcap
|
EXTRA_TARGET_HOST_INSTALL_MODULES=maybe-install-libtermcap
|
||||||
|
|
||||||
|
# Increase stack limit to same as Linux default.
|
||||||
|
LDFLAGS += -Wl,--stack,8388608
|
||||||
|
|
||||||
all-gdb: maybe-all-libtermcap
|
all-gdb: maybe-all-libtermcap
|
||||||
|
|
||||||
install-gdb: maybe-all-libtermcap
|
install-gdb: maybe-all-libtermcap
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
# To prevent the Ada static runtime library from using nearly the entire
|
||||||
# Compile Ada files with minimal-toc in addition to the default flags (at
|
# TOC, we used to compile Ada files with minimal-toc in addition to -gnatg
|
||||||
# least -gnatg is required to compile language defined units). The primary
|
# (mandatory to compile language defined units). This incured a performance
|
||||||
# focus is gnatlib, so that the library does not use nearly the entire TOC of
|
# penalty and is not required with section anchors enabled by default so we
|
||||||
# applications until gnatlib is built as a shared library on AIX. Compiling
|
# don't do it any more.
|
||||||
# the compiler with -mminimal-toc does not cause any harm.
|
BOOT_ADAFLAGS = -gnatapg
|
||||||
BOOT_ADAFLAGS = -gnatapg -mminimal-toc
|
|
||||||
BOOT_LDFLAGS = -Wl,-bbigtoc
|
BOOT_LDFLAGS = -Wl,-bbigtoc
|
||||||
LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`
|
LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`
|
||||||
|
|
|
@ -104,3 +104,21 @@ AC_DEFUN([GCC_CHECK_CC_TLS], [
|
||||||
AC_DEFINE(HAVE_CC_TLS, 1,
|
AC_DEFINE(HAVE_CC_TLS, 1,
|
||||||
[Define to 1 if the target assembler supports thread-local storage.])
|
[Define to 1 if the target assembler supports thread-local storage.])
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
|
dnl Check whether TLS is emulated.
|
||||||
|
AC_DEFUN([GCC_CHECK_EMUTLS], [
|
||||||
|
AC_CACHE_CHECK([whether the thread-local storage support is from emutls],
|
||||||
|
gcc_cv_use_emutls, [
|
||||||
|
gcc_cv_use_emutls=no
|
||||||
|
echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
|
||||||
|
if AC_TRY_COMMAND(${CC-cc} -Werror -S -o conftest.s conftest.c 1>&AS_MESSAGE_LOG_FD); then
|
||||||
|
if grep __emutls_get_address conftest.s > /dev/null; then
|
||||||
|
gcc_cv_use_emutls=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
rm -f conftest.*
|
||||||
|
])
|
||||||
|
if test "$gcc_cv_use_emutls" = "yes" ; then
|
||||||
|
AC_DEFINE(USE_EMUTLS, 1,
|
||||||
|
[Define to 1 if the target use emutls for thread-local storage.])
|
||||||
|
fi])
|
||||||
|
|
|
@ -22,7 +22,13 @@ AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [
|
||||||
*) have_unwind_getipinfo=yes ;;
|
*) have_unwind_getipinfo=yes ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
have_unwind_getipinfo=yes
|
# Darwin before version 9 does not have _Unwind_GetIPInfo.
|
||||||
|
changequote(,)
|
||||||
|
case ${target} in
|
||||||
|
*-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
|
||||||
|
*) have_unwind_getipinfo=yes ;;
|
||||||
|
esac
|
||||||
|
changequote([,])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$have_unwind_getipinfo = xyes; then
|
if test x$have_unwind_getipinfo = xyes; then
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Autoconf include file defining macros related to compile-time warnings.
|
# Autoconf include file defining macros related to compile-time warnings.
|
||||||
|
|
||||||
# Copyright 2004, 2005, 2007 Free Software Foundation, Inc.
|
# Copyright 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
|
||||||
|
|
||||||
#This file is part of GCC.
|
#This file is part of GCC.
|
||||||
|
|
||||||
#GCC is free software; you can redistribute it and/or modify it under
|
#GCC is free software; you can redistribute it and/or modify it under
|
||||||
#the terms of the GNU General Public License as published by the Free
|
#the terms of the GNU General Public License as published by the Free
|
||||||
#Software Foundation; either version 2, or (at your option) any later
|
#Software Foundation; either version 3, or (at your option) any later
|
||||||
#version.
|
#version.
|
||||||
|
|
||||||
#GCC is distributed in the hope that it will be useful, but WITHOUT
|
#GCC is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
@ -15,9 +15,8 @@
|
||||||
#for more details.
|
#for more details.
|
||||||
|
|
||||||
#You should have received a copy of the GNU General Public License
|
#You should have received a copy of the GNU General Public License
|
||||||
#along with GCC; see the file COPYING. If not, write to the Free
|
#along with GCC; see the file COPYING3. If not see
|
||||||
#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
#<http://www.gnu.org/licenses/>.
|
||||||
#02110-1301, USA.
|
|
||||||
|
|
||||||
# ACX_PROG_CC_WARNING_OPTS(WARNINGS, [VARIABLE = WARN_CFLAGS)
|
# ACX_PROG_CC_WARNING_OPTS(WARNINGS, [VARIABLE = WARN_CFLAGS)
|
||||||
# Sets @VARIABLE@ to the subset of the given options which the
|
# Sets @VARIABLE@ to the subset of the given options which the
|
||||||
|
|
Loading…
Reference in New Issue