This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
iq2000 port
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com, Stan Cox <scox at redhat dot com>
- Date: Mon, 5 Apr 2004 13:36:19 +0930
- Subject: iq2000 port
The IQ2000 binutils port is one of the worst offenders regarding compile
time warnings. eg.
bfd/elf32-iq2000.c:261: warning: `iq2000_reloc_map' defined but not used
opcodes/iq2000-asm.c:68: warning: function declaration isn't a prototype
opcodes/iq2000-asm.c: In function `iq2000_cgen_isa_register':
opcodes/iq2000-asm.c:91: warning: implicit declaration of function `tolower'
opcodes/iq2000-asm.c: In function `parse_mimm':
opcodes/iq2000-asm.c:119: warning: comparison between signed and unsigned
opcodes/iq2000-asm.c:106: warning: unused variable `value'
opcodes/iq2000-asm.c: In function `parse_imm':
opcodes/iq2000-asm.c:150: warning: comparison between signed and unsigned
opcodes/iq2000-asm.c:138: warning: unused variable `value'
opcodes/iq2000-asm.c: At top level:
opcodes/iq2000-asm.c:163: warning: function declaration isn't a prototype
opcodes/iq2000-asm.c: In function `parse_jtargq10':
opcodes/iq2000-asm.c:166: warning: unused parameter `reloc'
opcodes/iq2000-asm.c:167: warning: unused parameter `type_addr'
opcodes/iq2000-asm.c: At top level:
opcodes/iq2000-asm.c:290: warning: function declaration isn't a prototype
opcodes/iq2000-asm.c: In function `iq2000_cgen_assemble_insn':
opcodes/iq2000-asm.c:791: warning: passing arg 2 of `iq2000_cgen_insn_supported' discards qualifiers from pointer target type
opcodes/iq2000-desc.c:55: warning: `ISA_attr' defined but not used
opcodes/iq2000-dis.c: In function `print_insn':
opcodes/iq2000-dis.c:398: warning: passing arg 2 of `iq2000_cgen_insn_supported' discards qualifiers from pointer target type
opcodes/iq2000-opc.c:48: warning: `ifmt_empty' defined but not used
Also, iq2000_elf_object_p sets bad_symtab, with a comment that
"Irix 5 and 6 is broken." Huh? How is this relevant to this target?
--
Alan Modra
IBM OzLabs - Linux Technology Centre