This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]