summaryrefslogtreecommitdiffstats
path: root/kernel/arch/parisc/nm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/parisc/nm')
-rw-r--r--kernel/arch/parisc/nm6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/arch/parisc/nm b/kernel/arch/parisc/nm
new file mode 100644
index 000000000..c788308de
--- /dev/null
+++ b/kernel/arch/parisc/nm
@@ -0,0 +1,6 @@
+#!/bin/sh
+##
+# Hack to have an nm which removes the local symbols. We also rely
+# on this nm being hidden out of the ordinarily executable path
+##
+${CROSS_COMPILE}nm $* | grep -v '.LC*[0-9]*$'