forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 244b2c5ca8b14627e4a17755e5922221e121c771
kernel/arch/h8300/kernel/vmlinux.lds.S
....@@ -1,4 +1,7 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2
+
3
+#define RO_EXCEPTION_TABLE_ALIGN 16
4
+
25 #include <asm-generic/vmlinux.lds.h>
36 #include <asm/page.h>
47 #include <asm/thread_info.h>
....@@ -37,9 +40,7 @@
3740 #endif
3841 _etext = . ;
3942 }
40
- EXCEPTION_TABLE(16)
41
- NOTES
42
- RO_DATA_SECTION(4)
43
+ RO_DATA(4)
4344 ROMEND = .;
4445 #if defined(CONFIG_ROMKERNEL)
4546 . = RAMTOP;
....@@ -48,7 +49,7 @@
4849 #endif
4950 _sdata = . ;
5051 __data_start = . ;
51
- RW_DATA_SECTION(0, PAGE_SIZE, THREAD_SIZE)
52
+ RW_DATA(0, PAGE_SIZE, THREAD_SIZE)
5253 #if defined(CONFIG_ROMKERNEL)
5354 #undef ADDR
5455 #endif
....@@ -56,7 +57,6 @@
5657 __init_begin = .;
5758 INIT_TEXT_SECTION(4)
5859 INIT_DATA_SECTION(4)
59
- SECURITY_INIT
6060 __init_end = .;
6161 _edata = . ;
6262 _begin_data = LOADADDR(.data);