[PATCH/RFA] Constify ia64-gen.c, improve argument parsing.
Nick Clifton
nickc@redhat.com
Thu Nov 7 06:35:00 GMT 2002
Hi Klee,
> 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.
Approved and applied.
I also decided to remove all the compile-time warnings when building
ia64-gen, so I have checked in this as well:
Cheers
Nick
2002-11-07 Nick Clifton <nickc@redhat.com>
* ia64-gen.c: Fix comment formatting and compile time warnings.
* ia64-opc-a.c: Fix compile time warnings.
* ia64-opc-b.c: Likewise.
* ia64-opc-d.c: Likewise.
* ia64-opc-f.c: Likewise.
* ia64-opc-i.c: Likewise.
* ia64-opc-m.c: Likewise.
* ia64-opc-x.c: Likewise.
More information about the Binutils
mailing list