This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS: microMIPS branch decoder return type fix
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 29 Jul 2011 23:57:27 +0100 (BST)
- Subject: [committed] MIPS: microMIPS branch decoder return type fix
Hi,
I have checked this change in as well.
2011-07-29 Maciej W. Rozycki <macro@codesourcery.com>
bfd/
* elfxx-mips.c (check_br32): Fix return type.
Maciej
binutils-umips-br32.diff
Index: binutils-fsf-trunk-quilt/bfd/elfxx-mips.c
===================================================================
--- binutils-fsf-trunk-quilt.orig/bfd/elfxx-mips.c 2011-07-29 21:51:47.000000000 +0100
+++ binutils-fsf-trunk-quilt/bfd/elfxx-mips.c 2011-07-29 21:22:12.000000000 +0100
@@ -12239,7 +12239,7 @@ check_br16 (bfd *abfd, bfd_byte *ptr, un
/* If PTR points to a 32-bit branch or jump that doesn't fiddle with REG,
then return TRUE, otherwise FALSE. */
-static int
+static bfd_boolean
check_br32 (bfd *abfd, bfd_byte *ptr, unsigned long reg)
{
unsigned long opcode;