xref: /linux/arch/x86/entry/vdso/vdso32/note.S (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1b2441318SGreg Kroah-Hartman/* SPDX-License-Identifier: GPL-2.0 */
2c97db4a0SRoland McGrath/*
3c97db4a0SRoland McGrath * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
4c97db4a0SRoland McGrath * Here we can supply some information useful to userland.
5c97db4a0SRoland McGrath */
6c97db4a0SRoland McGrath
7*d623f60dSLaura Abbott#include <linux/build-salt.h>
8c97db4a0SRoland McGrath#include <linux/version.h>
9810bab44SJeremy Fitzhardinge#include <linux/elfnote.h>
10c97db4a0SRoland McGrath
11810bab44SJeremy Fitzhardinge/* Ideally this would use UTS_NAME, but using a quoted string here
12810bab44SJeremy Fitzhardinge   doesn't work. Remember to change this when changing the
13810bab44SJeremy Fitzhardinge   kernel's name. */
14810bab44SJeremy FitzhardingeELFNOTE_START(Linux, 0, "a")
15c97db4a0SRoland McGrath	.long LINUX_VERSION_CODE
16810bab44SJeremy FitzhardingeELFNOTE_END
1724037a8bSJeremy Fitzhardinge
18*d623f60dSLaura AbbottBUILD_SALT
19