xref: /linux/arch/riscv/kernel/vdso/note.S (revision 23b0f90ba871f096474e1c27c3d14f455189d2d9)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
4 * Here we can supply some information useful to userland.
5 */
6
7#include <linux/elfnote.h>
8#include <linux/version.h>
9#include <asm/assembler.h>
10
11ELFNOTE_START(Linux, 0, "a")
12	.long LINUX_VERSION_CODE
13ELFNOTE_END
14
15emit_riscv_feature_1_and
16