public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [ARM]Binutils trunk build failure
@ 2006-03-07 21:04 Khem Raj
  2006-03-07 21:49 ` Cross compilatiing binutils Basavaraj Hiremath
  2006-03-09 17:09 ` [ARM]Binutils trunk build failure Nick Clifton
  0 siblings, 2 replies; 3+ messages in thread
From: Khem Raj @ 2006-03-07 21:04 UTC (permalink / raw)
  To: dan, binutils

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

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.



[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 708 bytes --]

? 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);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Cross compilatiing binutils
  2006-03-07 21:04 [ARM]Binutils trunk build failure Khem Raj
@ 2006-03-07 21:49 ` Basavaraj Hiremath
  2006-03-09 17:09 ` [ARM]Binutils trunk build failure Nick Clifton
  1 sibling, 0 replies; 3+ messages in thread
From: Basavaraj Hiremath @ 2006-03-07 21:49 UTC (permalink / raw)
  To: binutils

Hi,
could any one help me on this?
I am cross compiling binutils for arm/wince
During  ./confugre, it's failing as below...

Thanks & regards,
Raj
 
configure: WARNING: float.h: present but cannot be
compiled
configure: WARNING: float.h:     check for missing
prerequisite headers?
configure: WARNING: float.h: see the Autoconf
documentation
configure: WARNING: float.h:     section "Present But
Cannot Be Compiled"
configure: WARNING: float.h: proceeding with the
preprocessor's result
configure: WARNING: float.h: in the future, the
compiler will take precedence
configure: WARNING:     ##
----------------------------------------- ##
configure: WARNING:     ## Report this to the
package-unused lists.  ##
configure: WARNING:     ##
----------------------------------------- ##
checking for float.h... yes
checking for main in -lm... configure: error: Link
tests are not allowed after G
CC_NO_EXECUTABLES.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ARM]Binutils trunk build failure
  2006-03-07 21:04 [ARM]Binutils trunk build failure Khem Raj
  2006-03-07 21:49 ` Cross compilatiing binutils Basavaraj Hiremath
@ 2006-03-09 17:09 ` Nick Clifton
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2006-03-09 17:09 UTC (permalink / raw)
  To: Khem Raj; +Cc: dan, binutils

Hi Khem,

> 2006-03-07  Khem Raj  <khem@mvista.com>
> 
> * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned char type.

Approved and applied.

Cheers
   Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-09 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-07 21:04 [ARM]Binutils trunk build failure Khem Raj
2006-03-07 21:49 ` Cross compilatiing binutils Basavaraj Hiremath
2006-03-09 17:09 ` [ARM]Binutils trunk build failure Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).