]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf symbols: allow forcing use of cplus_demangle
authorKyle McMartin <kyle@mcmartin.ca>
Mon, 10 May 2010 20:43:35 +0000 (16:43 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:44 +0000 (10:57 -0400)
commit5cdf3e363f095d218748e0d5105a91f7e7ba7bcd
treeec9d46947521345e89761ad3ae2586ca3525cad8
parent670b04e88f4851ab4b92112a5884f1755a4a3964
perf symbols: allow forcing use of cplus_demangle

commit d11c7addfe0fa501cb54c824c0fac3481d527433 upstream.

For Fedora, I want to force perf to link against libiberty.a for
cplus_demangle, rather than libbfd.a for bfd_demangle due to licensing insanity
on binutils. (libiberty is LGPL2, libbfd is GPL3.)

If we just rely on autodetection, we'll end up with libbfd linked against us,
since they're both in binutils-static in the buildroot.

Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20100510204335.GA7565@bombadil.infradead.org>
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
tools/perf/Makefile