xref: /linux/arch/x86/entry/vdso/common/note.S (revision 6f7e6393d1ce636bb7ec77a7fe7b77458fddf701)
1*693c819fSH. Peter Anvin/* SPDX-License-Identifier: GPL-2.0 */
2*693c819fSH. Peter Anvin/*
3*693c819fSH. Peter Anvin * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
4*693c819fSH. Peter Anvin * Here we can supply some information useful to userland.
5*693c819fSH. Peter Anvin */
6*693c819fSH. Peter Anvin
7*693c819fSH. Peter Anvin#include <linux/build-salt.h>
8*693c819fSH. Peter Anvin#include <linux/version.h>
9*693c819fSH. Peter Anvin#include <linux/elfnote.h>
10*693c819fSH. Peter Anvin
11*693c819fSH. Peter Anvin/* Ideally this would use UTS_NAME, but using a quoted string here
12*693c819fSH. Peter Anvin   doesn't work. Remember to change this when changing the
13*693c819fSH. Peter Anvin   kernel's name. */
14*693c819fSH. Peter AnvinELFNOTE_START(Linux, 0, "a")
15*693c819fSH. Peter Anvin	.long LINUX_VERSION_CODE
16*693c819fSH. Peter AnvinELFNOTE_END
17*693c819fSH. Peter Anvin
18*693c819fSH. Peter AnvinBUILD_SALT
19