/* SPDX-License-Identifier: GPL-2.0 */1/*2* Copyright (C) 2020 Google LLC.3* Written by David Brazdil <[email protected]>4*5* Linker script used for partial linking of nVHE EL2 object files.6*/78#include <asm/hyp_image.h>9#include <asm-generic/vmlinux.lds.h>10#include <asm/cache.h>11#include <asm/memory.h>1213SECTIONS {14HYP_SECTION(.idmap.text)15HYP_SECTION(.text)16HYP_SECTION(.data..ro_after_init)17HYP_SECTION(.rodata)1819/*20* .hyp..data..percpu needs to be page aligned to maintain the same21* alignment for when linking into vmlinux.22*/23. = ALIGN(PAGE_SIZE);24BEGIN_HYP_SECTION(.data..percpu)25PERCPU_INPUT(L1_CACHE_BYTES)26END_HYP_SECTION2728HYP_SECTION(.bss)29HYP_SECTION(.data)30}313233