diff options
author | phk <phk@FreeBSD.org> | 2002-07-19 10:29:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-07-19 10:29:07 +0000 |
commit | dca07368059ad545512278870e07e4e36a7e95cd (patch) | |
tree | 78e4ff0fb4cdc220e44d01a8bc2a2d259a51bee8 /tools | |
parent | 6f7073eccfff9802f5282b17f14d246f99bee922 (diff) | |
download | FreeBSD-src-dca07368059ad545512278870e07e4e36a7e95cd.zip FreeBSD-src-dca07368059ad545512278870e07e4e36a7e95cd.tar.gz |
Update to current reality: change COMPILEDIR and work on "R"ead-only-data
symbols as well.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/kernxref/kernxref.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/kernxref/kernxref.sh b/tools/tools/kernxref/kernxref.sh index 09b4fa1..95e22dd 100644 --- a/tools/tools/kernxref/kernxref.sh +++ b/tools/tools/kernxref/kernxref.sh @@ -12,7 +12,7 @@ # This shellscript will make a cross reference of the symbols of the LINT # kernel. -COMPILEDIR=/sys/compile +COMPILEDIR=/sys/i386/compile KERNELNAME=LINT cd ${COMPILEDIR}/${KERNELNAME} @@ -38,7 +38,7 @@ NF > 1 { nm[$3]++ if ($2 == "U") { ref[$3]=ref[$3]" "$1 - } else if ($2 == "T" || $2 == "D" || $2 == "A") { + } else if ($2 == "T" || $2 == "D" || $2 == "A" || $2 == "R") { if (def[$3] != "") def[$3]=def[$3]" "$1 else |