Home
last modified time | relevance | path

Searched refs:longopts (Results 1 – 16 of 16) sorted by relevance

/toolchain/binutils/binutils-2.25/include/
Dgetopt.h122 const struct option *longopts, int *longind);
125 const struct option *longopts, int *longind);
130 const struct option *longopts, int *longind,
/toolchain/binutils/binutils-2.25/libiberty/
Dgetopt.c523 const struct option *longopts, in _getopt_internal() argument
622 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal()
640 if (longopts != NULL in _getopt_internal()
657 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
846 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dticoff.em51 struct option **longopts, int nrl ATTRIBUTE_UNUSED,
60 *longopts = (struct option *)
61 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long));
62 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
Dvms.em134 struct option **longopts,
144 *longopts
145 = xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long));
146 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
Darmcoff.em55 struct option **longopts, int nrl ATTRIBUTE_UNUSED,
64 *longopts = xrealloc (*longopts,
66 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
Dbeos.em91 struct option **longopts, int nrl ATTRIBUTE_UNUSED,
113 *longopts = (struct option *)
114 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long));
115 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
Daix.em190 (int ns, char **shortopts, int nl, struct option **longopts,
271 *longopts = xrealloc (*longopts,
273 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
Dpep.em259 struct option **longopts,
333 *longopts
334 = xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long));
335 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
Dpe.em283 struct option **longopts,
360 *longopts
361 = xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long));
362 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
Delf32.em2108 (int ns, char **shortopts, int nl, struct option **longopts,
2154 *longopts = (struct option *)
2155 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long));
2156 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
/toolchain/binutils/binutils-2.25/gas/
Das.c424 struct option *longopts; in parse_args() local
541 longopts = (struct option *) xmalloc (sizeof (std_longopts) in parse_args()
543 memcpy (longopts, std_longopts, sizeof (std_longopts)); in parse_args()
544 memcpy (((char *) longopts) + sizeof (std_longopts), md_longopts, md_longopts_size); in parse_args()
545 memset (((char *) longopts) + sizeof (std_longopts) + md_longopts_size, in parse_args()
563 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts, in parse_args()
978 free (longopts); in parse_args()
/toolchain/binutils/binutils-2.25/ld/
Dldemul.c130 struct option **longopts, int nrl, in ldemul_add_options() argument
134 (*ld_emulation->add_options) (ns, shortopts, nl, longopts, in ldemul_add_options()
Dlexsup.c540 struct option *longopts; in parse_args() local
546 longopts = (struct option *) in parse_args()
547 xmalloc (sizeof (*longopts) * (OPTION_COUNT + 1)); in parse_args()
586 longopts[il] = ld_options[i].opt; in parse_args()
592 longopts[il].name = NULL; in parse_args()
595 ldemul_add_options (is, &shortopts, il, &longopts, irl, &really_longopts); in parse_args()
661 optc = getopt_long_only (argc, argv, shortopts, longopts, &longind); in parse_args()
DChangeLog-000187 (longopts): Add --eh-frame-hdr.
1595 Add new option Bgroup to longopts.
1840 (longopts[]): New --no-default-excludes option.
2025 (longopts): New --dll-search-prefix option.
2507 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2728 (longopts): New --{enable,disable}-auto-image-base options.
3359 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
DChangeLog-02031318 * lexsup.c (parse_args): Malloc shortopts, longopts and
1713 * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
2700 (longopts): Add new option --exclude-libs.
DChangeLog-91971868 (parse_args): Build shortopts and longopts from ld_options array.
4531 * lexsup.c (parse_args): Add -shared to longopts, and handle it.
4587 * lexsup.c (parse_args): Add dynamic-linker to longopts, and
4606 * lexsup.c (parse_args): Add traditional-format to longopts, and
4757 * lexsup.c (longopts): Separate OPTION_CALL_SHARED from