mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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:
@ -104,3 +104,21 @@ AC_DEFUN([GCC_CHECK_CC_TLS], [
|
||||
AC_DEFINE(HAVE_CC_TLS, 1,
|
||||
[Define to 1 if the target assembler supports thread-local storage.])
|
||||
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])
|
||||
|
Reference in New Issue
Block a user