aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mksysmap
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-01-26 15:10:37 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-26 15:10:37 -0800
commit2034563ca323ee45f37a32911550d21c1f1e9626 (patch)
treecb9cfd052df2caa736f95890580b9de39276b77f /scripts/mksysmap
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
parentkbuild: fix kbuild.txt typos (diff)
downloadlinux-dev-2034563ca323ee45f37a32911550d21c1f1e9626.tar.xz
linux-dev-2034563ca323ee45f37a32911550d21c1f1e9626.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes: kbuild: fix kbuild.txt typos kbuild: print usage with no arguments in scripts/config Revert "kbuild: strip generated symbols from *.ko"
Diffstat (limited to 'scripts/mksysmap')
-rw-r--r--scripts/mksysmap7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/mksysmap b/scripts/mksysmap
index 1db316a3712b..6e133a0bae7a 100644
--- a/scripts/mksysmap
+++ b/scripts/mksysmap
@@ -37,6 +37,9 @@
# readprofile starts reading symbols when _stext is found, and
# continue until it finds a symbol which is not either of 'T', 't',
-# 'W' or 'w'.
+# 'W' or 'w'. __crc_ are 'A' and placed in the middle
+# so we just ignore them to let readprofile continue to work.
+# (At least sparc64 has __crc_ in the middle).
+
+$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2
-$NM -n $1 | grep -v '\( [aNUw] \)\|\( \$[adt]\)' > $2