Ian Lance Taylor
64b89453bc
configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled as a target library.
...
* configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
as a target library.
* configure: Rebuild.
From-SVN: r191503
2012-09-19 22:57:53 +00:00
Rainer Orth
768505569c
configure.ac (GCC_HEADER_STDINT): Invoke.
...
* configure.ac (GCC_HEADER_STDINT): Invoke.
* backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
* btest.c: Don't include <stdint.h>.
* dwarf.c: Likewise.
* configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
Co-Authored-By: Ian Lance Taylor <iant@google.com>
From-SVN: r191474
2012-09-19 13:41:33 +00:00
Ian Lance Taylor
3319ef17d2
posix.c (O_BINARY): Define if not defined.
...
* posix.c (O_BINARY): Define if not defined.
(backtrace_open): Pass O_BINARY to open. Only call fcntl if
HAVE_FCNTL is defined.
* configure.ac: Test for the fcntl function.
* configure, config.h.in: Rebuild.
From-SVN: r191443
2012-09-18 18:06:28 +00:00
Ian Lance Taylor
d4c059d582
configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
...
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
* mmapio.c: Don't define _GNU_SOURCE.
* configure, config.h.in: Rebuild.
From-SVN: r191435
2012-09-18 16:36:48 +00:00
Ian Lance Taylor
772a71a959
configure.ac: Check whether strnlen is declared.
...
* configure.ac: Check whether strnlen is declared.
* dwarf.c: Declare strnlen if not declared.
* configure, config.h.in: Rebuild.
From-SVN: r191433
2012-09-18 16:06:53 +00:00
Ian Lance Taylor
eff02e4f84
libbacktrace/:
...
* Initial implementation.
./:
* MAINTAINERS (Various Maintainers): Add libbacktrace.
* configure.ac (host_libs): Add libbacktrace.
(target_libraries): Add libbacktrace.
* Makefile.def (host_modules): Add libbacktrace.
(target_modules): Likewise.
* configure, Makefile.in: Rebuild.
gcc/go:
* config-lang.in (target_libs): Add target-libbacktrace.
From-SVN: r191397
2012-09-17 16:38:38 +00:00