| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
/* |
| 3 |
* Copyright (C) 2012 ARM Limited |
| 4 |
* |
| 5 |
* Author: Will Deacon <[email protected]> |
| 6 |
* |
| 7 |
* This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. |
| 8 |
* Here we can supply some information useful to userland. |
| 9 |
*/ |
| 10 |
|
| 11 |
#include <linux/uts.h> |
| 12 |
#include <linux/version.h> |
| 13 |
#include <linux/elfnote.h> |
| 14 |
#include <linux/build-salt.h> |
| 15 |
#include <asm/assembler.h> |
| 16 |
|
| 17 |
ELFNOTE_START(Linux, 0, "a") |
| 18 |
.long LINUX_VERSION_CODE |
| 19 |
ELFNOTE_END |
| 20 |
|
| 21 |
BUILD_SALT |
| 22 |
|
| 23 |
emit_aarch64_feature_1_and |