summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2023-04-03 19:19:38 -0400
committerGreg Hudson <ghudson@mit.edu>2023-04-10 13:23:05 -0400
commit9327e92950086753f61f7e2d02bfa658e7779777 (patch)
tree6ae23656736c2203a6b41a3aa90fbf9209328d81
parent5af907156f8f502bbe268f0c62274f88a61261e4 (diff)
downloadkrb5-9327e92950086753f61f7e2d02bfa658e7779777.tar.gz
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)
-rwxr-xr-xsrc/util/export-check.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/export-check.pl b/src/util/export-check.pl
index eaec7d611..2866c0a38 100755
--- a/src/util/export-check.pl
+++ b/src/util/export-check.pl
@@ -49,6 +49,7 @@ map chop, @export;
while (<NM>) {
chop;
s/^[0-9a-fA-F]+ +//;
+ s/@@.*$//;
next if /^A /;
if (!/^[TDRBGS] /) {
unlink $libfile;