[gdb/testsuite] Compile varval twice, once without bad DWARF
[deliverable/binutils-gdb.git] / ld / emulparams / cet.sh
CommitLineData
ee2fdd6f
L
1PARSE_AND_LIST_OPTIONS_CET='
2 fprintf (file, _("\
df5f2391
AM
3 -z ibtplt Generate IBT-enabled PLT entries\n"));
4 fprintf (file, _("\
5 -z ibt Generate GNU_PROPERTY_X86_FEATURE_1_IBT\n"));
6 fprintf (file, _("\
48580982 7 -z shstk Generate GNU_PROPERTY_X86_FEATURE_1_SHSTK\n"));
233a0083
L
8 fprintf (file, _("\
9 -z cet-report=[none|warning|error] (default: none)\n\
10 Report missing IBT and SHSTK properties\n"));
ee2fdd6f
L
11'
12PARSE_AND_LIST_ARGS_CASE_Z_CET='
13 else if (strcmp (optarg, "ibtplt") == 0)
5b9c07b2 14 params.ibtplt = TRUE;
ee2fdd6f 15 else if (strcmp (optarg, "ibt") == 0)
5b9c07b2 16 params.ibt = TRUE;
48580982 17 else if (strcmp (optarg, "shstk") == 0)
5b9c07b2 18 params.shstk = TRUE;
233a0083
L
19 else if (strncmp (optarg, "cet-report=", 11) == 0)
20 {
21 if (strcmp (optarg + 11, "none") == 0)
22 params.cet_report = cet_report_none;
23 else if (strcmp (optarg + 11, "warning") == 0)
24 params.cet_report = (cet_report_warning
25 | cet_report_ibt
26 | cet_report_shstk);
27 else if (strcmp (optarg + 11, "error") == 0)
28 params.cet_report = (cet_report_error
29 | cet_report_ibt
30 | cet_report_shstk);
31 else
32 einfo (_("%F%P: invalid option for -z cet-report=: %s\n"),
33 optarg + 11);
34 }
ee2fdd6f
L
35'
36
37PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_CET"
38PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_CET"
This page took 0.108965 seconds and 4 git commands to generate.