libtraceevent: Fix build with binutils 2.35
authorBen Hutchings <ben@decadent.org.uk>
Fri, 24 Jul 2020 21:42:51 +0000 (22:42 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 26 Jul 2020 06:40:40 +0000 (07:40 +0100)
commit84129c279a4fca5c93cb970e344bb73dbe0c3a94
tree03844ad905c5775f11fd23790e06b8483340e1d8
parent383d4f8db4b8d010b196a3f49678fcb0e393e944
libtraceevent: Fix build with binutils 2.35

Forwarded: https://lore.kernel.org/linux-trace-devel/20200725010623.GA194964@decadent.org.uk/T/#u

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>
Cc: stable@vger.kernel.org
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name libtraceevent-fix-build-with-binutils-2.35.patch
tools/lib/traceevent/plugins/Makefile