xref: /linux/arch/arm64/kernel/vdso/note.S (revision a06c3fad49a50d5d5eb078f93e70f4d3eca5d5a5)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2012 ARM Limited
4 *
5 * Author: Will Deacon <will.deacon@arm.com>
6 *
7 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
8 * Here we can supply some information useful to userland.
9 */
10
11#include <linux/uts.h>
12#include <linux/version.h>
13#include <linux/elfnote.h>
14#include <linux/build-salt.h>
15#include <asm/assembler.h>
16
17ELFNOTE_START(Linux, 0, "a")
18	.long LINUX_VERSION_CODE
19ELFNOTE_END
20
21BUILD_SALT
22
23emit_aarch64_feature_1_and
24