Commit Graph

7 Commits

Author SHA1 Message Date
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
Rainer Orth
c0558468b8 Fix libbacktrace bootstrap with gcc 4.4
* fileline.c: Include <stdlib.h>.
	* mmap.c: Likewise.

From-SVN: r191414
2012-09-18 09:02:50 +00:00
Ian Lance Taylor
c5812e0b33 re PR bootstrap/54611 (Bootstrap failure: conflicting types for 'backtrace_simple')
PR bootstrap/54611
	* nounwind.c (backtrace_full): Rename from backtrace.  Add state
	parameter.

From-SVN: r191408
2012-09-17 21:14:51 +00:00
Gerald Pfeifer
e8f4008a9e re PR bootstrap/54611 (Bootstrap failure: conflicting types for 'backtrace_simple')
PR bootstrap/54611
	* nounwind.c (backtrace_simple): Add state parameter.

From-SVN: r191405
2012-09-17 20:57:16 +00:00
Ian Lance Taylor
f588eb27dd re PR bootstrap/54609 (libbacktrace breaks bootstrap on darwin)
PR bootstrap/54609
	* unknown.c (unknown_fileline): Add state parameter, remove
	fileline_data parameter, name error_callback parameter.
	(backtrace_initialize): Add state parameter.

From-SVN: r191402
2012-09-17 17:43:26 +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