forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/arc/kernel/vmlinux.lds.S
....@@ -1,9 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #include <asm-generic/vmlinux.lds.h>
....@@ -71,7 +68,6 @@
7168 INIT_SETUP(L1_CACHE_BYTES)
7269 INIT_CALLS
7370 CON_INITCALL
74
- SECURITY_INITCALL
7571 }
7672
7773 .init.arch.info : {
....@@ -101,13 +97,13 @@
10197 _etext = .;
10298
10399 _sdata = .;
104
- RO_DATA_SECTION(PAGE_SIZE)
100
+ RO_DATA(PAGE_SIZE)
105101
106102 /*
107103 * 1. this is .data essentially
108104 * 2. THREAD_SIZE for init.task, must be kernel-stk sz aligned
109105 */
110
- RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
106
+ RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
111107
112108 _edata = .;
113109
....@@ -124,12 +120,11 @@
124120 /DISCARD/ : { *(.eh_frame) }
125121 #endif
126122
127
- NOTES
128
-
129123 . = ALIGN(PAGE_SIZE);
130124 _end = . ;
131125
132126 STABS_DEBUG
127
+ ELF_DETAILS
133128 DISCARDS
134129
135130 .arcextmap 0 : {