Skip to content

Commit 96e9737

Browse files
authored
Merge pull request torvalds#95 from zandrey/5.4.x+fslc
[linux-fslc]: libtraceevent: Fix build with binutils 2.35
2 parents 4a0f3ae + 415afad commit 96e9737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lib/traceevent/plugins/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ define do_generate_dynamic_list_file
196196
xargs echo "U w W" | tr 'w ' 'W\n' | sort -u | xargs echo`;\
197197
if [ "$$symbol_type" = "U W" ];then \
198198
(echo '{'; \
199-
$(NM) -u -D $1 | awk 'NF>1 {print "\t"$$2";"}' | sort -u;\
199+
$(NM) -u -D $1 | awk 'NF>1 {sub("@.*", "", $$2); print "\t"$$2";"}' | sort -u;\
200200
echo '};'; \
201201
) > $2; \
202202
else \

0 commit comments

Comments
 (0)