retpoline: add indirect thunk support

for gcc version > 7.3, enable CONFIG_RETPOLINE

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Jason Chen CJ
2018-03-12 20:57:44 +08:00
committed by Jack Ren
parent c244e8b5a3
commit d14a7dbdd2
5 changed files with 75 additions and 2 deletions

View File

@@ -45,5 +45,4 @@
#define CONFIG_LOW_RAM_SIZE 0x000CF000
#define CONFIG_RAM_START 0x6E000000
#define CONFIG_RAM_SIZE 0x02000000 /* 32M */
#define CONFIG_RETPOLINE
#endif /* BSP_CFG_H */