x86: Support Intel IBT with IBT property and IBT-enable PLT
[deliverable/binutils-gdb.git] / ld / emulparams / cet.sh
1 PARSE_AND_LIST_OPTIONS_CET='
2 fprintf (file, _("\
3 -z ibtplt Generate IBT-enabled PLT entries\n\
4 -z ibt Generate GNU_PROPERTY_X86_FEATURE_1_IBT\n"));
5 '
6 PARSE_AND_LIST_ARGS_CASE_Z_CET='
7 else if (strcmp (optarg, "ibtplt") == 0)
8 link_info.ibtplt = TRUE;
9 else if (strcmp (optarg, "ibt") == 0)
10 link_info.ibt = TRUE;
11 '
12
13 PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_CET"
14 PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_CET"
This page took 0.029852 seconds and 4 git commands to generate.