Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/ispfw/ispfw/@/conf/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/amd64/compile/hs32/modules/usr/src/sys/modules/ispfw/ispfw/@/conf/kmod_syms.awk |
# $FreeBSD: release/9.1.0/sys/conf/kmod_syms.awk 101438 2002-08-06 19:31:04Z iedowse $ # Read global symbols from object file. BEGIN { while ("${NM:='nm'} -g " ARGV[1] | getline) { if (match($0, /^[^[:space:]]+ [^AU] (.*)$/)) { syms[$3] = $2 } } delete ARGV[1] } # De-list symbols from the export list. { delete syms[$0] } # Strip commons, make everything else local. END { for (member in syms) { if (syms[member] == "C") print "-N" member else print "-L" member } }