]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
libtraceevent: Fix build with binutils 2.35
authorBen Hutchings <ben@decadent.org.uk>
Sat, 25 Jul 2020 01:06:23 +0000 (02:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2020 07:58:38 +0000 (09:58 +0200)
commitfd9534fff26c381d7c1d403728d751a361437502
treeb052f5164479dfdb8f58149f73e6671ee43d3547
parente3afee6425394e86fd625ce9d965de3d3fd6d3a2
libtraceevent: Fix build with binutils 2.35

commit 39efdd94e314336f4acbac4c07e0f37bdc3bef71 upstream.

In binutils 2.35, 'nm -D' changed to show symbol versions along with
symbol names, with the usual @@ separator.  When generating
libtraceevent-dynamic-list we need just the names, so strip off the
version suffix if present.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Salvatore Bonaccorso <carnil@debian.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/lib/traceevent/plugins/Makefile