This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: wince gcc and clmips incompatibility





>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


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