forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/hexagon/kernel/vmlinux.lds.S
....@@ -1,21 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Linker script for Hexagon kernel
34 *
45 * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 and
8
- * only version 2 as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18
- * 02110-1301, USA.
196 */
207
218 #include <asm-generic/vmlinux.lds.h>
....@@ -51,6 +38,8 @@
5138 .text : AT(ADDR(.text)) {
5239 _text = .;
5340 TEXT_TEXT
41
+ IRQENTRY_TEXT
42
+ SOFTIRQENTRY_TEXT
5443 SCHED_TEXT
5544 CPUIDLE_TEXT
5645 LOCK_TEXT
....@@ -62,12 +51,11 @@
6251 INIT_DATA_SECTION(PAGE_SIZE)
6352
6453 _sdata = .;
65
- RW_DATA_SECTION(32,PAGE_SIZE,_THREAD_SIZE)
66
- RO_DATA_SECTION(PAGE_SIZE)
54
+ RW_DATA(32,PAGE_SIZE,_THREAD_SIZE)
55
+ RO_DATA(PAGE_SIZE)
6756 _edata = .;
6857
6958 EXCEPTION_TABLE(16)
70
- NOTES
7159
7260 BSS_SECTION(_PAGE_SIZE, _PAGE_SIZE, _PAGE_SIZE)
7361
....@@ -75,6 +63,7 @@
7563
7664 STABS_DEBUG
7765 DWARF_DEBUG
66
+ ELF_DETAILS
7867
7968 DISCARDS
8069 }