This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problems compiling elfxx-sparc.c
- From: "David S. Miller" <davem at davemloft dot net>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: nickc at redhat dot com, binutils at sources dot redhat dot com
- Date: Wed, 20 Apr 2005 11:19:19 -0700
- Subject: Re: Problems compiling elfxx-sparc.c
- References: <m3vf6hu4zq.fsf@redhat.com><jewtqx37yk.fsf@sykes.suse.de>
On Wed, 20 Apr 2005 15:15:31 +0200
Andreas Schwab <schwab@suse.de> wrote:
> Nick Clifton <nickc@redhat.com> writes:
>
> > Hi David,
> >
> > With your recent addition of the the elfxx-sparc.c file to the bfd/
> > directory I am unable to build a toolchain configured with
> > --enable-targets=all on a 32bit host. The failures are:
> >
> > .../bfd/elfxx-sparc.c: In function `sparc_elf_r_symndx_64':
> > .../bfd/elfxx-sparc.c:541: warning: right shift count >= width of type
> > .../bfd/elfxx-sparc.c: In function `allocate_dynrelocs':
> > .../bfd/elfxx-sparc.c:1793: warning: left shift count >= width of type
>
> Another warning:
>
> /cvs/binutils/bfd/elfxx-sparc.c: In function '_bfd_sparc_elf_link_hash_table_create':
> /cvs/binutils/bfd/elfxx-sparc.c:780: warning: pointer targets in assignment differ in signedness
> /cvs/binutils/bfd/elfxx-sparc.c:797: warning: pointer targets in assignment differ in signedness
I'll fix these up.