When generating the .sym export file from the .map file, we are not
stripping these comments that are part of the same line as the symbol,
which causes ld(1) implementations to error out. Moving them before
the symbols avoids the need to strip them, as we are only keeping
actual symbol lines.
heapsort;
humanize_number;
- inet_net_pton; /* XXX: Already provided by glibc, remove. */
+ /* XXX: Already provided by glibc, remove. */
+ inet_net_pton;
getprogname;
setprogname;
LIBBSD_0.1 {
strmode;
- __fdnlist; /* Private symbol, but libkvm uses it. */
+ /* Private symbol, but libkvm uses it. */
+ __fdnlist;
nlist;
} LIBBSD_0.0;