This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH/RFA] Constify ia64-gen.c, improve argument parsing.
- From: Klee Dienes <klee at apple dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 6 Nov 2002 02:15:26 -0500
- Subject: [PATCH/RFA] Constify ia64-gen.c, improve argument parsing.
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.
Attachment:
ia64-gen.txt
Description: Text document