summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/vdso/checkundef.sh
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2024-10-11 11:18:26 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-10-23 09:52:49 +0200
commit90daca7c8f6f33e9482591446d2e76b18a21be49 (patch)
tree64cc5e96bb204d7ad86879f2ba9a529d35f93a3b /arch/x86/um/vdso/checkundef.sh
parentum: Do not propagate initrd parameter to kernel (diff)
downloadlinux-90daca7c8f6f33e9482591446d2e76b18a21be49.tar.xz
linux-90daca7c8f6f33e9482591446d2e76b18a21be49.zip
um: vdso: Always reject undefined references in during linking
Instead of using a custom script to detect and fail on undefined references, use --no-undefined for all VDSO linker invocations. Drop the now unused checkundef.sh script. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Link: https://patch.msgid.link/20241011-vdso-checkundef-v1-2-1a46e0352d20@linutronix.de Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/x86/um/vdso/checkundef.sh')
-rw-r--r--arch/x86/um/vdso/checkundef.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/um/vdso/checkundef.sh b/arch/x86/um/vdso/checkundef.sh
deleted file mode 100644
index 8e3ea6bb956f..000000000000
--- a/arch/x86/um/vdso/checkundef.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0
-nm="$1"
-file="$2"
-$nm "$file" | grep '^ *U' > /dev/null 2>&1
-if [ $? -eq 1 ]; then
- exit 0
-else
- echo "$file: undefined symbols found" >&2
- exit 1
-fi