CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/10 00:28:28
Modified files:
bin/ps : nlist.c
lib/libkvm : kvm.c kvm_amd64.c kvm_file2.c kvm_getloadavg.c
kvm_i386.c kvm_proc2.c
regress/sys/arch/amd64/dump_tables: dump_tables.c
regress/sys/arch/amd64/fpu: fxproc0.c
sbin/dmesg : dmesg.c
sbin/savecore : savecore.c
usr.bin/ipcs : ipcs.c
usr.bin/netstat: main.c
usr.bin/nfsstat: nfsstat.c
usr.bin/vmstat : dkstats.c vmstat.c
usr.sbin/acpidump: acpidump.c
usr.sbin/config: ukc.h
usr.sbin/installboot: i386_installboot.c i386_softraid.c
usr.sbin/kgmon : kgmon.c
usr.sbin/procmap: procmap.c
usr.sbin/pstat : pstat.c
usr.sbin/trpt : trpt.c
Log message:
Stop prepending underscores to symbol names in nlist(3) input. This used to
matter back when some OpenBSD platforms were using the a.out binary format,
which adds such underscores to symbols produced from C code; but now that
all binaries are ELF, there is no need for these underscores anymore.
Note that this does not change the behaviour of nlist(3) yet - if the
symbol being looked for is not found, and starts with an underscore, a second
lookup is still performed without the leading underscore.
With tweaks from cludwig@