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