vmlinux-xip.lds.S (bba9525520b6028ecbe7486e13216e9ede8636be) vmlinux-xip.lds.S (046835b4aa22b9ab6aa0bb274e3b71047c4b887d)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* ld script to make ARM Linux kernel
3 * taken from the i386 version by Russell King
4 * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
5 */
6
7/* No __ro_after_init data in the .rodata section - which will always be ro */
8#define RO_AFTER_INIT_DATA
9
10#include <linux/sizes.h>
11
12#include <asm-generic/vmlinux.lds.h>
13#include <asm/cache.h>
14#include <asm/thread_info.h>
15#include <asm/memory.h>
1/* SPDX-License-Identifier: GPL-2.0 */
2/* ld script to make ARM Linux kernel
3 * taken from the i386 version by Russell King
4 * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
5 */
6
7/* No __ro_after_init data in the .rodata section - which will always be ro */
8#define RO_AFTER_INIT_DATA
9
10#include <linux/sizes.h>
11
12#include <asm-generic/vmlinux.lds.h>
13#include <asm/cache.h>
14#include <asm/thread_info.h>
15#include <asm/memory.h>
16#include <asm/mpu.h>
16#include <asm/page.h>
17
18#include "vmlinux.lds.h"
19
20OUTPUT_ARCH(arm)
21ENTRY(stext)
22
23#ifndef __ARMEB__

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

143 */
144 .data.endmark : AT(ADDR(.data.endmark) - LOAD_OFFSET) { }
145 _edata_loc = LOADADDR(.data.endmark);
146
147 . = ALIGN(PAGE_SIZE);
148 __init_end = .;
149
150 BSS_SECTION(0, 0, 8)
17#include <asm/page.h>
18
19#include "vmlinux.lds.h"
20
21OUTPUT_ARCH(arm)
22ENTRY(stext)
23
24#ifndef __ARMEB__

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

144 */
145 .data.endmark : AT(ADDR(.data.endmark) - LOAD_OFFSET) { }
146 _edata_loc = LOADADDR(.data.endmark);
147
148 . = ALIGN(PAGE_SIZE);
149 __init_end = .;
150
151 BSS_SECTION(0, 0, 8)
152#ifdef CONFIG_ARM_MPU
153 . = ALIGN(PMSAv8_MINALIGN);
154#endif
151 _end = .;
152
153 STABS_DEBUG
154}
155
156/*
157 * These must never be empty
158 * If you have to comment these two assert statements out, your

--- 38 unchanged lines hidden ---
155 _end = .;
156
157 STABS_DEBUG
158}
159
160/*
161 * These must never be empty
162 * If you have to comment these two assert statements out, your

--- 38 unchanged lines hidden ---