|
@@ -124,6 +124,12 @@ SECTIONS
|
|
ASSERT(. - _entry_trampoline == PAGE_SIZE, "entry trampoline is too big");
|
|
ASSERT(. - _entry_trampoline == PAGE_SIZE, "entry trampoline is too big");
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef CONFIG_RETPOLINE
|
|
|
|
+ __indirect_thunk_start = .;
|
|
|
|
+ *(.text.__x86.indirect_thunk)
|
|
|
|
+ __indirect_thunk_end = .;
|
|
|
|
+#endif
|
|
|
|
+
|
|
/* End of text section */
|
|
/* End of text section */
|
|
_etext = .;
|
|
_etext = .;
|
|
} :text = 0x9090
|
|
} :text = 0x9090
|