Home
last modified time | relevance | path

Searched refs:optarg (Results 1 – 25 of 51) sorted by relevance

123

/toolchain/binutils/binutils-2.27/gprof/
Dgprof.c217 if (optarg) in main()
219 sym_id_add (optarg, INCL_ANNO); in main()
235 if (optarg) in main()
237 sym_id_add (optarg, INCL_EXEC); in main()
243 if (optarg) in main()
245 debug_level |= atoi (optarg); in main()
261 sym_id_add (optarg, EXCL_TIME); in main()
263 sym_id_add (optarg, EXCL_GRAPH); in main()
266 sym_id_add (optarg, INCL_TIME); in main()
268 sym_id_add (optarg, INCL_GRAPH); in main()
[all …]
/toolchain/binutils/binutils-2.27/gas/
Das.c608 if (md_parse_option (optc, optarg) != 0) in parse_args()
619 if (optarg && *optarg) in parse_args()
620 new_argv[new_argc++] = optarg, new_argv[new_argc] = NULL; in parse_args()
631 as_bad (_("unrecognized option -%c%s"), optc, optarg ? optarg : ""); in parse_args()
638 if (!strcmp (optarg, "-")) in parse_args()
639 optarg = (char *) ""; in parse_args()
640 new_argv[new_argc++] = optarg; in parse_args()
691 if (strcmp (optarg, this_emulation->name)) in parse_args()
711 if (optarg) in parse_args()
714 if (strcasecmp (optarg, "none") == 0) in parse_args()
[all …]
/toolchain/binutils/binutils-2.27/ld/
Dlexsup.c722 lang_add_input_file (optarg, lang_input_file_is_file_enum, NULL); in parse_args()
731 if (strcmp (optarg, "archive") == 0) in parse_args()
733 else if (strcmp (optarg, "shared") == 0 in parse_args()
734 || strcmp (optarg, "default") == 0) in parse_args()
737 einfo (_("%P%F: unrecognized -a option `%s'\n"), optarg); in parse_args()
741 if (strcmp (optarg, "definitions") == 0) in parse_args()
743 else if (strcmp (optarg, "nodefinitions") == 0) in parse_args()
745 else if (strcmp (optarg, "nosymbolic") == 0) in parse_args()
747 else if (strcmp (optarg, "pure-text") == 0) in parse_args()
750 einfo (_("%P%F: unrecognized -assert option `%s'\n"), optarg); in parse_args()
[all …]
/toolchain/binutils/binutils-2.27/libiberty/
Dgetopt.c116 char *optarg = NULL; variable
526 optarg = NULL; in _getopt_internal()
614 optarg = argv[optind++]; in _getopt_internal()
700 optarg = nameend + 1; in _getopt_internal()
726 optarg = argv[optind++]; in _getopt_internal()
813 optarg = nextchar; in _getopt_internal()
836 optarg = argv[optind++]; in _getopt_internal()
841 for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) in _getopt_internal()
884 optarg = nameend + 1; in _getopt_internal()
899 optarg = argv[optind++]; in _getopt_internal()
[all …]
Dgetopt1.c124 if (optarg) in main()
125 printf (" with arg %s", optarg); in main()
154 printf ("option c with value `%s'\n", optarg); in main()
158 printf ("option d with value `%s'\n", optarg); in main()
/toolchain/binutils/binutils-2.27/binutils/
Dobjcopy.c3583 input_target = optarg; in strip_main()
3586 output_target = optarg; in strip_main()
3589 input_target = output_target = optarg; in strip_main()
3592 find_section_list (optarg, TRUE, SECTION_CONTEXT_REMOVE); in strip_main()
3610 add_specific_symbol (optarg, keep_specific_htab); in strip_main()
3613 add_specific_symbol (optarg, strip_specific_htab); in strip_main()
3616 output_file = optarg; in strip_main()
3947 copy_byte = atoi (optarg); in copy_main()
3953 input_arch = bfd_scan_arch (optarg); in copy_main()
3955 fatal (_("architecture %s unknown"), optarg); in copy_main()
[all …]
Dwindres.c839 if (optarg[0] == '0' && (optarg[1] == 'x' || optarg[1] == 'X')) in main()
840 ncp = (rc_uint_type) strtol (optarg + 2, NULL, 16); in main()
842 ncp = (rc_uint_type) strtol (optarg, NULL, 10); in main()
850 input_filename = optarg; in main()
858 if (*optarg != 'o') in main()
860 optarg++; in main()
861 if (* optarg == 0) in main()
865 optarg = argv [optind++]; in main()
870 output_filename = optarg; in main()
874 input_format = format_from_name (optarg, 1); in main()
[all …]
Dstrings.c213 string_min = (int) strtoul (optarg, &s, 0); in main()
215 fatal (_("invalid integer argument %s"), optarg); in main()
229 if (optarg[1] != '\0') in main()
231 switch (optarg[0]) in main()
251 target = optarg; in main()
255 if (optarg[1] != '\0') in main()
257 encoding = optarg[0]; in main()
261 output_separator = optarg; in main()
Ddllwrap.c700 entry_point = optarg; in main()
703 image_base_str = optarg; in main()
706 def_file_name = optarg; in main()
715 dll_file_name = optarg; in main()
723 dll_name = optarg; in main()
729 driver_name = optarg; in main()
732 driver_flags = optarg; in main()
735 dlltool_name = optarg; in main()
738 target = optarg; in main()
750 base_file_name = optarg; in main()
[all …]
Daddr2line.c455 target = optarg; in main()
459 if (optarg != NULL) in main()
463 style = cplus_demangle_name_to_style (optarg); in main()
466 optarg); in main()
472 file_name = optarg; in main()
495 section_name = optarg; in main()
Dsize.c148 switch (*optarg) in main()
159 non_fatal (_("invalid argument to --format: %s"), optarg); in main()
165 target = optarg; in main()
170 temp = strtol (optarg, NULL, 10); in main()
172 temp = atol (optarg); in main()
186 non_fatal (_("Invalid radix: %s\n"), optarg); in main()
Dobjdump.c3606 machine = optarg; in main()
3612 optarg, (const char *) NULL); in main()
3614 disassembler_options = optarg; in main()
3617 add_only (optarg); in main()
3626 target = optarg; in main()
3630 if (optarg != NULL) in main()
3634 style = cplus_demangle_name_to_style (optarg); in main()
3637 optarg); in main()
3646 adjust_section_vma = parse_vma (optarg, "--adjust-vma"); in main()
3649 start_address = parse_vma (optarg, "--start-address"); in main()
[all …]
Delfedit.c703 input_elf_machine = elf_machine (optarg); in main()
712 output_elf_machine = elf_machine (optarg); in main()
721 input_elf_type = elf_type (optarg); in main()
727 output_elf_type = elf_type (optarg); in main()
733 input_elf_osabi = elf_osabi (optarg); in main()
739 output_elf_osabi = elf_osabi (optarg); in main()
Dwindmc.c978 mcset_header_ext = optarg; in main()
989 mcset_header_dir = mc_unify_path (optarg); in main()
992 mcset_rc_dir = mc_unify_path (optarg); in main()
998 if (*optarg != 0) in main()
999 mcset_dbg_dir = mc_unify_path (optarg); in main()
1024 target = optarg; in main()
1030 mcset_max_message_length = strtol (optarg, (char **) NULL, 10); in main()
1033 mcset_codepage_in = strtol (optarg, (char **) NULL, 10); in main()
1036 mcset_codepage_out = strtol (optarg, (char **) NULL, 10); in main()
Dcxxfilt.c211 style = cplus_demangle_name_to_style (optarg); in main()
215 program_name, optarg); in main()
/toolchain/binutils/binutils-2.27/ld/emultempl/
Dnds32elf.em311 if (!optarg)
312 einfo (_("Missing file for --mexport-symbols.\n"), optarg);
314 if(strcmp (optarg, "-") == 0)
318 sym_ld_script = fopen (optarg, FOPEN_WT);
320 einfo (_("%P%F: cannot open map file %s: %E.\n"), optarg);
331 if (!optarg)
334 if(strcmp (optarg, "-") == 0)
338 ex9_export_file = fopen (optarg, "wb");
340 einfo (_("ERROR %P%F: cannot open ex9 export file %s.\n"), optarg);
344 if (!optarg)
[all …]
Dticoff.em80 if ((*optarg == '0' || *optarg == '1' || *optarg == '2')
81 && optarg[1] == '\0')
84 coff_version = *optarg - '0';
85 buf[4] = *optarg;
90 einfo (_("%P%F: invalid COFF format version %s\n"), optarg);
Davrelf.em273 if ((!strcmp (optarg,"32k")) || (!strcmp (optarg,"32K")))
275 else if ((!strcmp (optarg,"8k")) || (!strcmp (optarg,"8K")))
277 else if ((!strcmp (optarg,"16k")) || (!strcmp (optarg,"16K")))
279 else if ((!strcmp (optarg,"64k")) || (!strcmp (optarg,"64K")))
Dspuelf.em696 params.local_store_lo = strtoul (optarg, &end, 0);
703 einfo (_("%P%F: invalid --local-store address range `%s'\''\n"), optarg);
717 if (optarg != NULL)
719 auto_overlay_file = optarg;
759 params.num_lines = strtoul (optarg, &end, 0);
765 einfo (_("%P%F: invalid --num-lines/--num-regions `%s'\''\n"), optarg);
772 params.line_size = strtoul (optarg, &end, 0);
778 einfo (_("%P%F: invalid --line-size/--region-size `%s'\''\n"), optarg);
785 params.auto_overlay_fixed = strtoul (optarg, &end, 0);
787 einfo (_("%P%F: invalid --fixed-space value `%s'\''\n"), optarg);
[all …]
Delf32.em2281 if (optarg == NULL)
2282 optarg = DEFAULT_BUILD_ID_STYLE;
2283 if (strcmp (optarg, "none"))
2284 emit_note_gnu_build_id = xstrdup (optarg);
2288 if (strcasecmp (optarg, "none") == 0)
2290 else if (strcasecmp (optarg, "zlib") == 0)
2292 else if (strcasecmp (optarg, "zlib-gnu") == 0)
2294 else if (strcasecmp (optarg, "zlib-gabi") == 0)
2298 optarg);
2305 gld${EMULATION_NAME}_append_to_separated_string (&audit, optarg);
[all …]
Daix.em370 einfo ("%F%P: cannot read %s\n", optarg);
392 read_file_list (optarg);
396 val = bfd_scan_vma (optarg, &end, 0);
398 einfo ("%P: warning: ignoring invalid -D number %s\n", optarg);
404 val = bfd_scan_vma (optarg, &end, 0);
406 einfo ("%P: warning: ignoring invalid -H number %s\n", optarg);
422 val = bfd_scan_vma (optarg, &end, 0);
449 i = t = optarg;
493 gld${EMULATION_NAME}_read_file (optarg, FALSE);
503 n->name = optarg;
[all …]
Dbeos.em198 sver = strchr (optarg, ':');
200 len = strlen (optarg);
205 len = sver - optarg;
217 if (strncmp (optarg, v[i].name, len) == 0
229 einfo ("%P%F: invalid subsystem type %s\n", optarg);
237 set_pe_name (name, strtoul (optarg, &end, 0));
238 if (end == optarg)
240 einfo ("%P%F: invalid hex number for PE parameter '%s'\n", optarg);
243 optarg = end;
250 if (*optarg == ',')
[all …]
Darmelf.em652 thumb_entry_symbol = optarg;
668 target2_type = optarg;
684 if (strcmp (optarg, "none") == 0)
686 else if (strcmp (optarg, "scalar") == 0)
688 else if (strcmp (optarg, "vector") == 0)
691 einfo (_("Unrecognized VFP11 fix type '\''%s'\''.\n"), optarg);
695 if (!optarg)
697 else if (strcmp (optarg, "none") == 0)
699 else if (strcmp (optarg, "default") == 0)
701 else if (strcmp (optarg, "all") == 0)
[all …]
Dtic6xdsbt.em192 params.dsbt_index = strtol (optarg, &end, 0);
196 einfo (_("%P%F: invalid --dsbt-index %s\n"), optarg);
202 params.dsbt_size = strtol (optarg, &end, 0);
206 einfo (_("%P%F: invalid --dsbt-size %s\n"), optarg);
Dm68kelf.em232 if (strcmp (optarg, "target") == 0)
234 else if (strcmp (optarg, "single") == 0)
236 else if (strcmp (optarg, "negative") == 0)
238 else if (strcmp (optarg, "multigot") == 0)
241 einfo (_("Unrecognized --got argument '\''%s'\''.\n"), optarg);

123