More GCC 4.0 compile time warning fixes

Nick Clifton nickc@redhat.com
Tue Jul 5 15:30:00 GMT 2005


Hi Guys,

  I decided to check to make sure that all of the binutils toolchains
  would build with a GCC 4.0 compiler and I found a few more places
  where there were compile time warnings about pointers differing in
  signedness.  There was also a typo in elf64-ppc.c.

  So I am applying the attached patch to fix these problems.  All of
  the toolchains have been rebuild and retested after applying the
  patches and there were no regressions.

Cheers
  Nick

bfd/ChangeLog
2005-07-05  Nick Clifton  <nickc@redhat.com>

	* elf64-ppc.c (ppc64_elf_info_to_howto): Fix typo.

gas/ChangeLog
2005-07-05  Nick Clifton  <nickc@redhat.com>

	* config/tc-pdp11.c (md_apply_fix): Cast first argument to
	md_chars_to_numbers to an unsigned pointer in order to avoid a
	compile time warning.

cpu/ChangeLog
2005-07-05  Nick Clifton  <nickc@redhat.com>

	* iq2000.opc (parse_lo16, parse_mlo16): Make value parameter
	unsigned in order to avoid compile time warnings about sign
	conflicts.

	* ms1.opc (parse_*): Likewise.
	(parse_imm16): Use a "void *" as it is passed both signed and
	unsigned arguments.

cgen/ChangeLog
2005-07-05  Nick Clifton  <nickc@redhat.com>

	* cpu/iq2000.opc (parse_lo16, parse_mlo16): Make value parameter
	unsigned in order to avoid compile time warnings about sign
	conflicts.

opcodes/ChangeLog
2005-07-05  Nick Clifton  <nickc@redhat.com>

	* iq2000-asm.c: Regenerate.
	* ms1-asm.c: Regenerate.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.p.bz2
Type: application/x-bzip2
Size: 1801 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050705/7f87d890/attachment.bz2>


More information about the Binutils mailing list