This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ARM]Binutils trunk build failure


Hi Daniel,

The binutils build is failing due to a signed unsigned mismatch warning
Here is an obvious looking patch. Build works with this patch.
Is it ok.

Thanks

-Khem

bfd/ChangeLog

2006-03-07 Khem Raj <khem@mvista.com>

* elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned char type.


? diff
? bfd/.ChangeLog.swp
? bfd/doc/bfd.info
? binutils/doc/binutils.info
? gas/doc/as.info
? ld/ld.info
Index: bfd/elf32-arm.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-arm.c,v
retrieving revision 1.66
diff -u -p -r1.66 elf32-arm.c
--- bfd/elf32-arm.c	7 Mar 2006 08:39:21 -0000	1.66
+++ bfd/elf32-arm.c	7 Mar 2006 20:55:46 -0000
@@ -7351,7 +7351,7 @@ elf32_arm_finish_dynamic_sections (bfd *
 	  /* Correct the .rel(a).plt.unloaded relocations.  They will have
 	     incorrect symbol indexes.  */
 	  int num_plts;
-	  char *p;
+	  unsigned char *p;
 
 	  num_plts = ((htab->splt->size - htab->plt_header_size)
 		      / htab->plt_entry_size);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]