xref: /openbmc/linux/arch/arm64/kvm/hyp/nvhe/hyp.lds.S (revision 835fd614)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2020 Google LLC.
4 * Written by David Brazdil <dbrazdil@google.com>
5 *
6 * Linker script used for partial linking of nVHE EL2 object files.
7 */
8
9#include <asm/hyp_image.h>
10#include <asm-generic/vmlinux.lds.h>
11#include <asm/cache.h>
12#include <asm/memory.h>
13
14SECTIONS {
15	HYP_SECTION(.text)
16	HYP_SECTION_NAME(.data..percpu) : {
17		PERCPU_INPUT(L1_CACHE_BYTES)
18	}
19}
20