From 9327e92950086753f61f7e2d02bfa658e7779777 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 3 Apr 2023 19:19:38 -0400 Subject: Fix maintainer-mode build for binutils 2.37 binutils 2.37 makes --with-symbol-versions the default for nm. In export-check.pl, remove the default symbol versions in the nm output if they are present. ticket: 9092 (new) --- src/util/export-check.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/export-check.pl b/src/util/export-check.pl index eaec7d6..2866c0a 100755 --- a/src/util/export-check.pl +++ b/src/util/export-check.pl @@ -49,6 +49,7 @@ map chop, @export; while () { chop; s/^[0-9a-fA-F]+ +//; + s/@@.*$//; next if /^A /; if (!/^[TDRBGS] /) { unlink $libfile; -- cgit v1.1