diff mbox

Backtrace library [2/3]

Message ID mcrmx0wp3vb.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Sept. 11, 2012, 10:54 p.m. UTC
I have finished the initial implementation of the backtrace library I
proposed at http://gcc.gnu.org/ml/gcc/2012-08/msg00317.html .  I've
separated the work into three patches.  These patches only implement the
backtrace library itself; actual use of the library will follow in
separate patches.

This patch is the changes to the top-level directories for the backtrace
library.  This is straightforward.  Note that libbacktrace is built as
both a host library (to link into the compilers) and as a target library
(to link into libgo and possibly other libraries).

Bootstrapped on x86_64-unknown-linux-gnu in conjunction with the other
two patches.  OK for mainline?

Ian


2012-09-11  Ian Lance Taylor  <iant@google.com>

	* 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.

Comments

Diego Novillo Sept. 13, 2012, 8 p.m. UTC | #1
On 2012-09-11 18:54 , Ian Lance Taylor wrote:

> 2012-09-11  Ian Lance Taylor  <iant@google.com>
>
> 	* 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.

OK.


Diego.
diff mbox

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 191171)
+++ configure.ac	(working copy)
@@ -133,7 +133,7 @@  build_tools="build-texinfo build-flex bu
 
 # these libraries are used by various programs built for the host environment
 #
-host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
+host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
 
 # these tools are built for the host environment
 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
@@ -152,6 +152,7 @@  libgcj="target-libffi \
 # the host libraries and the host tools (which may be a cross compiler)
 # Note that libiberty is not a target library.
 target_libraries="target-libgcc \
+		target-libbacktrace \
 		target-libgloss \
 		target-newlib \
 		target-libgomp \
Index: MAINTAINERS
===================================================================
--- MAINTAINERS	(revision 191171)
+++ MAINTAINERS	(working copy)
@@ -155,6 +155,7 @@  objective-c/c++		Stan Shebs		stanshebs@e
 
 			Various Maintainers
 
+libbacktrace		Ian Lance Taylor	ian@airs.com
 libcpp			Per Bothner		per@bothner.com
 libcpp			All C and C++ front end maintainers
 fp-bit			Ian Lance Taylor	ian@airs.com
Index: Makefile.def
===================================================================
--- Makefile.def	(revision 191171)
+++ Makefile.def	(working copy)
@@ -80,6 +80,7 @@  host_modules= { module= tcl;
                 missing=mostlyclean; };
 host_modules= { module= itcl; };
 host_modules= { module= ld; bootstrap=true; };
+host_modules= { module= libbacktrace; bootstrap=true; };
 host_modules= { module= libcpp; bootstrap=true; };
 host_modules= { module= libdecnumber; bootstrap=true; };
 host_modules= { module= libgui; };
@@ -121,6 +122,7 @@  target_modules = { module= libmudflap; l
 target_modules = { module= libssp; lib_path=.libs; };
 target_modules = { module= newlib; };
 target_modules = { module= libgcc; bootstrap=true; no_check=true; };
+target_modules = { module= libbacktrace; };
 target_modules = { module= libquadmath; };
 target_modules = { module= libgfortran; };
 target_modules = { module= libobjc; };