summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/vdso/so2s.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/kernel/vdso/so2s.sh')
-rwxr-xr-xarch/csky/kernel/vdso/so2s.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/csky/kernel/vdso/so2s.sh b/arch/csky/kernel/vdso/so2s.sh
new file mode 100755
index 000000000000..69da3d529c6d
--- /dev/null
+++ b/arch/csky/kernel/vdso/so2s.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0+
+
+sed 's!\([0-9a-f]*\) T \([a-z0-9_]*\)\(@@LINUX_5.10\)*!.global \2\n.set \2,0x\1!' \
+| grep '^\.'