2019-06-03 05:44:50 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2012-03-05 11:49:31 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 ARM Limited
|
|
|
|
*
|
|
|
|
* Author: Will Deacon <will.deacon@arm.com>
|
|
|
|
*
|
|
|
|
* This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
|
|
|
|
* Here we can supply some information useful to userland.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/uts.h>
|
|
|
|
#include <linux/version.h>
|
|
|
|
#include <linux/elfnote.h>
|
2018-07-06 00:49:40 +00:00
|
|
|
#include <linux/build-salt.h>
|
2020-05-06 19:51:36 +00:00
|
|
|
#include <asm/assembler.h>
|
2012-03-05 11:49:31 +00:00
|
|
|
|
|
|
|
ELFNOTE_START(Linux, 0, "a")
|
|
|
|
.long LINUX_VERSION_CODE
|
|
|
|
ELFNOTE_END
|
2018-07-06 00:49:40 +00:00
|
|
|
|
|
|
|
BUILD_SALT
|
2020-05-06 19:51:36 +00:00
|
|
|
|
|
|
|
emit_aarch64_feature_1_and
|