summaryrefslogtreecommitdiffstats
path: root/arch/parisc/nm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/nm')
-rw-r--r--arch/parisc/nm6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/parisc/nm b/arch/parisc/nm
new file mode 100644
index 000000000000..c788308de33f
--- /dev/null
+++ b/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]*$'