We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cfbee commit 2f7412bCopy full SHA for 2f7412b
arch/x86/kernel/vmlinux.lds.S
@@ -61,11 +61,17 @@ jiffies_64 = jiffies;
61
. = ALIGN(HPAGE_SIZE); \
62
__end_rodata_hpage_align = .;
63
64
+#define ALIGN_ENTRY_TEXT_BEGIN . = ALIGN(PMD_SIZE);
65
+#define ALIGN_ENTRY_TEXT_END . = ALIGN(PMD_SIZE);
66
+
67
#else
68
69
#define X64_ALIGN_RODATA_BEGIN
70
#define X64_ALIGN_RODATA_END
71
72
+#define ALIGN_ENTRY_TEXT_BEGIN
73
+#define ALIGN_ENTRY_TEXT_END
74
75
#endif
76
77
PHDRS {
@@ -102,8 +108,10 @@ SECTIONS
102
108
CPUIDLE_TEXT
103
109
LOCK_TEXT
104
110
KPROBES_TEXT
111
+ ALIGN_ENTRY_TEXT_BEGIN
105
112
ENTRY_TEXT
106
113
IRQENTRY_TEXT
114
+ ALIGN_ENTRY_TEXT_END
107
115
SOFTIRQENTRY_TEXT
116
*(.fixup)
117
*(.gnu.warning)
0 commit comments