* nm.c (main): Ignore '-X32_64' as an option.

* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.
This commit is contained in:
Geoffrey Keating
2000-07-27 01:39:45 +00:00
parent 4d3dc5abff
commit 6e8008398d
4 changed files with 48 additions and 5 deletions

View File

@@ -250,7 +250,7 @@ usage (help)
if (! is_ranlib)
{
/* xgettext:c-format */
fprintf (s, _("Usage: %s [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...\n"),
fprintf (s, _("Usage: %s [-X32_64] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...\n"),
program_name);
/* xgettext:c-format */
fprintf (s, _(" %s -M [<mri-script]\n"), program_name);
@@ -276,6 +276,7 @@ usage (help)
fprintf (s, _(" [S] - do not build a symbol table\n"));
fprintf (s, _(" [v] - be verbose\n"));
fprintf (s, _(" [V] - display the version number\n"));
fprintf (s, _(" [-X32_64] - (ignored)\n"));
}
else
/* xgettext:c-format */
@@ -431,6 +432,17 @@ main (argc, argv)
xatexit (remove_output);
/* Ignored for (partial) AIX compatibility. On AIX,
the -X option can be used to ignore certain kinds
of object files in the archive (the 64-bit objects
or the 32-bit objects). GNU ar always looks at all
kinds of objects in an archive. */
while (strcmp (argv[1], "-X32_64") == 0)
{
argv++;
argc--;
}
if (is_ranlib)
{
boolean touch = false;