]> bbs.cooldavid.org Git - net-next-2.6.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)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 May 2010 15:43:11 +0000 (12:43 -0300)
commitd11c7addfe0fa501cb54c824c0fac3481d527433
tree4de64fa8df645092ba6b973a272f272e8af7b5b0
parent6b3c4ef50441e85dc9b2c9b67e95e8ad1185c15e
perf symbols: allow forcing use of cplus_demangle

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>
tools/perf/Makefile