hyp.lds.S (16174eea2e4fe8247e04c17da682f2034fec0369) hyp.lds.S (f7a4825d9569593b9a81f0768313b86175691ef1)
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

--- 8 unchanged lines hidden (view full) ---

17 HYP_SECTION(.data..ro_after_init)
18 HYP_SECTION(.rodata)
19
20 /*
21 * .hyp..data..percpu needs to be page aligned to maintain the same
22 * alignment for when linking into vmlinux.
23 */
24 . = ALIGN(PAGE_SIZE);
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

--- 8 unchanged lines hidden (view full) ---

17 HYP_SECTION(.data..ro_after_init)
18 HYP_SECTION(.rodata)
19
20 /*
21 * .hyp..data..percpu needs to be page aligned to maintain the same
22 * alignment for when linking into vmlinux.
23 */
24 . = ALIGN(PAGE_SIZE);
25 HYP_SECTION_NAME(.data..percpu) : {
25 BEGIN_HYP_SECTION(.data..percpu)
26 PERCPU_INPUT(L1_CACHE_BYTES)
26 PERCPU_INPUT(L1_CACHE_BYTES)
27 }
27 END_HYP_SECTION
28}
28}