1 PARSE_AND_LIST_OPTIONS_CALL_NOP
='
3 -z call-nop=PADDING Use PADDING as 1-byte NOP for branch\n"));
5 PARSE_AND_LIST_ARGS_CASE_Z_CALL_NOP
='
6 else if (strncmp (optarg, "call-nop=", 9) == 0)
8 if (strcmp (optarg + 9, "prefix-addr") == 0)
10 link_info.call_nop_as_suffix = FALSE;
11 link_info.call_nop_byte = 0x67;
13 else if (strcmp (optarg + 9, "suffix-nop") == 0)
15 link_info.call_nop_as_suffix = TRUE;
16 link_info.call_nop_byte = 0x90;
18 else if (strncmp (optarg + 9, "prefix-", 7) == 0)
21 link_info.call_nop_byte = strtoul (optarg + 16 , &end, 0);
23 einfo (_("%P%F: invalid number for -z call-nop=prefix-: %s\n"),
25 link_info.call_nop_as_suffix = FALSE;
27 else if (strncmp (optarg + 9, "suffix-", 7) == 0)
30 link_info.call_nop_byte = strtoul (optarg + 16, &end, 0);
32 einfo (_("%P%F: invalid number for -z call-nop=suffix-: %s\n"),
34 link_info.call_nop_as_suffix = TRUE;
37 einfo (_("%P%F: unsupported option: -z %s\n"), optarg);
41 PARSE_AND_LIST_OPTIONS
="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_CALL_NOP"
42 PARSE_AND_LIST_ARGS_CASE_Z
="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_CALL_NOP"