This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16932] Compilation error for sh-coff-gcc little endian target
- From: "wilson at specifixinc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2004 01:53:55 -0000
- Subject: [Bug target/16932] Compilation error for sh-coff-gcc little endian target
- References: <20040809112414.16932.nitins2@kpitcummins.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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