xref: /linux/arch/x86/entry/vdso/vdso32/note.S (revision 662fa3d6099374c4615bf64d06895e3573b935b2)
1/* SPDX-License-Identifier: GPL-2.0 */
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/version.h>
9#include <linux/elfnote.h>
10
11/* Ideally this would use UTS_NAME, but using a quoted string here
12   doesn't work. Remember to change this when changing the
13   kernel's name. */
14ELFNOTE_START(Linux, 0, "a")
15	.long LINUX_VERSION_CODE
16ELFNOTE_END
17
18BUILD_SALT
19