1 PARSE_AND_LIST_OPTIONS_CET
='
3 -z ibtplt Generate IBT-enabled PLT entries\n"));
5 -z ibt Generate GNU_PROPERTY_X86_FEATURE_1_IBT\n"));
7 -z shstk Generate GNU_PROPERTY_X86_FEATURE_1_SHSTK\n"));
9 -z cet-report=[none|warning|error] (default: none)\n\
10 Report missing IBT and SHSTK properties\n"));
12 PARSE_AND_LIST_ARGS_CASE_Z_CET
='
13 else if (strcmp (optarg, "ibtplt") == 0)
15 else if (strcmp (optarg, "ibt") == 0)
17 else if (strcmp (optarg, "shstk") == 0)
19 else if (strncmp (optarg, "cet-report=", 11) == 0)
21 if (strcmp (optarg + 11, "none") == 0)
22 params.cet_report = prop_report_none;
23 else if (strcmp (optarg + 11, "warning") == 0)
24 params.cet_report = (prop_report_warning
27 else if (strcmp (optarg + 11, "error") == 0)
28 params.cet_report = (prop_report_error
32 einfo (_("%F%P: invalid option for -z cet-report=: %s\n"),
37 PARSE_AND_LIST_OPTIONS
="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_CET"
38 PARSE_AND_LIST_ARGS_CASE_Z
="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_CET"