| 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/build-salt.h> |
| 8 | #include <linux/elfnote.h> |
| 9 | #include <linux/version.h> |
| 10 | #include <asm/assembler.h> |
| 11 | |
| 12 | |
| 13 | .long LINUX_VERSION_CODE |
| 14 | ELFNOTE_END |
| 15 | |
| 16 | BUILD_SALT |
| 17 | |
| 18 | emit_riscv_feature_1_and |