[PATCH/RFA] Constify ia64-gen.c, improve argument parsing.
Klee Dienes
klee@apple.com
Tue Nov 5 23:15:00 GMT 2002
The following patch adds a 'const' to the table generated by ia64-gen.c
It also converts the program to use getopt, and in addition to
--debug, --version, and --help, it adds a '--srcdir' argument, so that
it can be run from outside of the directory with the files used to
generate the output table.
2002-11-06 Klee Dienes <kdienes@apple.com>
* Makefile.am (ia64-asmtab.c): Update to use the new '--srcdir'
argument to ia64-gen.
* ia64-gen.c: Convert to use getopt(). Add the standard GNU
options, as well as '--srcdir', which controls the directory in
which ia64-gen looks for the sources it uses to generate the
output table. Add a 'const' to the declaration of the final
output table. Call xmalloc_set_program_name to set the program
name.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ia64-gen.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20021105/cda15ad9/attachment.txt>
More information about the Binutils
mailing list