[PATCH]: gas, opcodes Warnings
Dave Brolley
brolley@redhat.com
Wed Jul 19 10:29:00 GMT 2000
Hi,
The attached patch gets rid of some warnings when building
gas and opcodes. Most of them are unused parameters and integer
signedness. The only thing I'm not sure about is whether it's
permissable to use ATTRIBUTE_UNSIGNED in this code.
Seeking approval to commit this.
Dave
2000-07-13 Dave Brolley <brolley@redhat.com>
* cgen.c (queue_fixup): Declare opinfo.
(gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
(gas_cgen_md_operand): Ditto.
(gas_cgen_md_apply_fix3): Ditto.
2000-07-13 Dave Brolley <brolley@redhat.com>
* cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned.
2000-07-13 Dave Brolley <brolley@redhat.com>
* cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
(cgen_hw_lookup_by_num): Ditto.
(cgen_operand_lookup_by_name): Ditto.
* cgen-dis.c (hash_insn_array): Mark unused parameters with
ATTRIBUTE_UNUSED.
* cgen-asm.c (hash_insn_array): Mark unused parameters with
ATTRIBUTE_UNUSED.
(cgen_parse_keyword): Ditto.
More information about the Binutils
mailing list