Lines Matching refs:optarg
722 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()
753 ldfile_add_arch (optarg); in parse_args()
756 lang_add_target (optarg); in parse_args()
759 ldfile_open_command_file (optarg); in parse_args()
777 lex_string = optarg; in parse_args()
778 lex_redirect (optarg, "--defsym", ++defsym_count); in parse_args()
785 if (optarg != NULL) in parse_args()
789 style = cplus_demangle_name_to_style (optarg); in parse_args()
792 optarg); in parse_args()
799 command_line.interpreter = optarg; in parse_args()
825 lang_add_entry (optarg, TRUE); in parse_args()
832 command_line.auxiliary_filters[0] = optarg; in parse_args()
846 command_line.auxiliary_filters[c] = optarg; in parse_args()
851 command_line.filter_shlib = optarg; in parse_args()
859 g_switch_value = strtoul (optarg, &end, 0); in parse_args()
861 einfo (_("%P%F: invalid number `%s'\n"), optarg); in parse_args()
878 ldfile_add_library_path (optarg, TRUE); in parse_args()
881 lang_add_input_file (optarg, lang_input_file_is_l_enum, NULL); in parse_args()
890 config.map_filename = optarg; in parse_args()
934 if (strcmp (optarg, "ignore-all") == 0) in parse_args()
939 else if (strcmp (optarg, "report-all") == 0) in parse_args()
946 else if (strcmp (optarg, "ignore-in-object-files") == 0) in parse_args()
952 else if (strcmp (optarg, "ignore-in-shared-libs") == 0) in parse_args()
959 einfo (_("%P%F: bad --unresolved-symbols option: %s\n"), optarg); in parse_args()
1011 link_info.optimize = strtoul (optarg, NULL, 0) ? TRUE : FALSE; in parse_args()
1014 lang_add_output (optarg, 0); in parse_args()
1017 lang_add_output_format (optarg, NULL, NULL, 0); in parse_args()
1029 plugin_opt_plugin (optarg); in parse_args()
1032 if (plugin_opt_plugin_arg (optarg)) in parse_args()
1073 if (stat (optarg, &s) >= 0 in parse_args()
1076 lang_add_input_file (optarg, in parse_args()
1085 command_line.rpath = xstrdup (optarg); in parse_args()
1089 size_t optarg_len = strlen (optarg); in parse_args()
1096 if (strncmp (optarg, cp, optarg_len) == 0 in parse_args()
1113 config.rpath_separator, optarg); in parse_args()
1121 command_line.rpath_link = xstrdup (optarg); in parse_args()
1127 + strlen (optarg) in parse_args()
1130 config.rpath_separator, optarg); in parse_args()
1142 add_keepsyms_file (optarg); in parse_args()
1186 if (optarg[0] == '\0' && command_line.soname in parse_args()
1190 command_line.soname = optarg; in parse_args()
1193 if (optarg == NULL in parse_args()
1194 || strcmp (optarg, N_("descending")) == 0) in parse_args()
1196 else if (strcmp (optarg, N_("ascending")) == 0) in parse_args()
1200 optarg); in parse_args()
1203 if (strcmp (optarg, N_("name")) == 0) in parse_args()
1205 else if (strcmp (optarg, N_("alignment")) == 0) in parse_args()
1209 optarg); in parse_args()
1225 ldfile_open_command_file (optarg); in parse_args()
1231 command_line.default_script = optarg; in parse_args()
1240 optarg2 = strchr (optarg, '='); in parse_args()
1248 if ((*optarg == '\0') || (*optarg2 == '\0')) in parse_args()
1254 len = optarg2 - optarg; in parse_args()
1256 memcpy (sec_name, optarg, len - 1); in parse_args()
1268 set_segment_start (".bss", optarg); in parse_args()
1271 set_segment_start (".data", optarg); in parse_args()
1274 set_segment_start (".text", optarg); in parse_args()
1277 set_segment_start (".text-segment", optarg); in parse_args()
1280 set_segment_start (".rodata-segment", optarg); in parse_args()
1283 set_segment_start (".ldata-segment", optarg); in parse_args()
1303 ldlang_add_undef (optarg, TRUE); in parse_args()
1306 ldlang_add_require_defined (optarg); in parse_args()
1309 if (optarg != NULL) in parse_args()
1310 lang_add_unique (optarg); in parse_args()
1319 if (optarg != NULL) in parse_args()
1322 int level ATTRIBUTE_UNUSED = strtoul (optarg, &end, 0); in parse_args()
1324 einfo (_("%P%F: invalid number `%s'\n"), optarg); in parse_args()
1350 ldfile_open_command_file (optarg); in parse_args()
1360 command_line.version_exports_section = optarg; in parse_args()
1389 ldfile_open_command_file (optarg); in parse_args()
1442 add_wrap (optarg); in parse_args()
1445 add_ignoresym (&link_info, optarg); in parse_args()
1457 if (CONST_STRNEQ (optarg, "P,")) in parse_args()
1458 optarg += 2; in parse_args()
1461 default_dirlist = xstrdup (optarg); in parse_args()
1464 add_ysym (optarg); in parse_args()
1467 link_info.spare_dynamic_tags = strtoul (optarg, NULL, 0); in parse_args()
1470 if (optarg != NULL) in parse_args()
1471 config.split_by_reloc = strtoul (optarg, NULL, 0); in parse_args()
1476 if (optarg != NULL) in parse_args()
1477 config.split_by_file = bfd_scan_vma (optarg, NULL, 0); in parse_args()
1506 link_info.init_function = optarg; in parse_args()
1510 link_info.fini_function = optarg; in parse_args()
1523 new_size = strtoul (optarg, NULL, 0); in parse_args()
1553 if (strcasecmp (optarg, "place") == 0) in parse_args()
1555 else if (strcasecmp (optarg, "warn") == 0) in parse_args()
1557 else if (strcasecmp (optarg, "error") == 0) in parse_args()
1559 else if (strcasecmp (optarg, "discard") == 0) in parse_args()