This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug target/16932] Compilation error for sh-coff-gcc little endian target


------- Additional Comments From wilson at specifixinc dot com  2004-08-21 01:53 -------
Subject: Re:  Compilation error for sh-coff-gcc little endian
 target

nitins2 at kpitcummins dot com wrote:
> sh-coff-nm: _ashiftrt.o: File format is ambiguous
> sh-coff-nm: Matching formats: coff-shl coff-shl-small

Maybe it is a binutils problem then.  It could be a problem with coff 
header flags not getting set right for the target.

This might be a good time to learn how binutils works.  Start debugging 
gas/ld/nm to see how they set and use coff header flags.  Start by using 
grep to find where the nm error message is coming from, and then work 
backwards from there to figure out what the problem is.

Another possible solution here is to stop using coff.  coff is obsolete. 
So few people care about it anymore (excluding the MS Windows guys of 
course) that there is really no point to using it, and no point to 
fixing problems with it.  You are probably better off if you remove the 
sh-coff configure support rather than trying to figure out what is wrong 
and fixing it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16932


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