summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/funcs.h
diff options
context:
space:
mode:
authorart <art@openbsd.org>2003-06-01 16:19:00 +0000
committerart <art@openbsd.org>2003-06-01 16:19:00 +0000
commite66861089bb2ed9a51cf1e78c11ff1a7ff12c17f (patch)
tree250650fa73e38865c5264a24e18e20f3011a3536 /sys/lib/libkern/funcs.h
parentvarious format string cleanups; tedu ok (diff)
downloadwireguard-openbsd-e66861089bb2ed9a51cf1e78c11ff1a7ff12c17f.tar.xz
wireguard-openbsd-e66861089bb2ed9a51cf1e78c11ff1a7ff12c17f.zip
When searching for the symbol table and string table we were looking
for ".symtab" and ".strtab" in the section names. Instead of doing that, look for section type SHT_SYMTAB for the symbol table and follow the link in sh_link to find the corresponding string table. This is a more correct way of doing things and will work better when the toolchain doesn't generate ".symtab" and ".strtab" names and it will work when there are multiple symbol tables. noone objected to this diff for at least a week.
Diffstat (limited to 'sys/lib/libkern/funcs.h')
0 files changed, 0 insertions, 0 deletions