summaryrefslogtreecommitdiff
path: root/arch/parisc/nm
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-05-27 17:39:31 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2022-05-29 12:39:35 +0300
commit534671e0ef5b652d6a983bc1c85c339f7dbfe6ce (patch)
tree91b9d284e7abf3d056242746348a69ef91200eef /arch/parisc/nm
parentc25e1c55822f9b3b53ccbf88b85644317a525752 (diff)
downloadlinux-534671e0ef5b652d6a983bc1c85c339f7dbfe6ce.tar.xz
parisc: remove arch/parisc/nm
Parisc overrides 'nm' with a shell script. I was hit by a false-positive error of $(NM) because this script returns the exit status of grep instead of ${CROSS_COMPILE}nm. (grep returns 1 if no lines were selected) I tried to fix it, but in the code review, Helge suggested to remove it entirely. [1] This script was added in 2003. [2] Presumably, it was a workaround for old toolchains (but even the parisc maintainer does not know the detail any more). Hopefully, recent tools should work fine. [1]: https://lore.kernel.org/all/1c12cd26-d8aa-4498-f4c0-29478b9578fe@gmx.de/ [2]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=36eaa6e4c0e0b6950136b956b72fd08155b92ca3 Suggested-by: Helge Deller <deller@gmx.de> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/nm')
-rw-r--r--arch/parisc/nm6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/parisc/nm b/arch/parisc/nm
deleted file mode 100644
index c788308de33f..000000000000
--- a/arch/parisc/nm
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/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]*$'