kernel_samsung_a53x/arch/riscv/kernel/vdso/so2s.sh

7 lines
203 B
Bash
Raw Normal View History

2024-06-15 16:02:09 -03:00
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0+
# Copyright 2020 Palmer Dabbelt <palmerdabbelt@google.com>
sed 's!\([0-9a-f]*\) T \([a-z0-9_]*\)\(@@LINUX_4.15\)*!.global \2\n.set \2,0x\1!' \
| grep '^\.'