forked from Minki/linux
a6aadc2827
Generate BTI annotations for all assembly files included in the 64 bit vDSO. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20200506195138.22086-10-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
24 lines
517 B
ArmAsm
24 lines
517 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* 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>
|
|
#include <linux/build-salt.h>
|
|
#include <asm/assembler.h>
|
|
|
|
ELFNOTE_START(Linux, 0, "a")
|
|
.long LINUX_VERSION_CODE
|
|
ELFNOTE_END
|
|
|
|
BUILD_SALT
|
|
|
|
emit_aarch64_feature_1_and
|