This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: wince gcc and clmips incompatibility
- To: dj at delorie dot com
- Subject: Re: wince gcc and clmips incompatibility
- From: "Reed Kotler" <reedkotler at hotmail dot com>
- Date: Tue, 23 May 2000 14:00:45 PDT
- Cc: binutils at sourceware dot cygnus dot com
>From: DJ Delorie <dj@delorie.com>
>To: reedkotler@hotmail.com
>CC: binutils@sourceware.cygnus.com
>Subject: Re: wince gcc and clmips incompatibility
>Date: Tue, 23 May 2000 14:16:56 -0400
>
> > The gcc wince (normal little endian gcc mips with new wince
> > binutils) generates incomatible data references for simple objects
> > like ints.
>
>GCC has more flexible and powerful relocs than clmips, which allows
>gcc to do optimizations that clmips can't. However, this does mean
>that anything compiled with gcc must be linked with GNU ld, not MS
>link.
>
>IMHO if you see a case where GNU ld can't handle an object produced by
>clmips, that's a bug, because you almost always have to link against
>MS libraries. Problems going the other way are not as much of an
>issue because you can just use the GNU linker.
>
In this case i was linking with clmips.
The "pair" relocation is known by gcc wince but is not emitted
in this case. I will try and fix it.
>But, feel free to contribute patches that add that type of
>compatibility if you feel it's a worthy goal.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com