This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH #1] mips*-kfreebsd-gnu support in BFD
2010/12/31 Richard Sandiford <rdsandiford@googlemail.com>:
> All three patches applied with that change. ÂI also applied the patch
> below to get the testsuite into reasonable shape.
>
> Please check that the committed version works on a real system.
Thank you. It works fine for a cross mipsel-kfreebsd-gnu target.
I'll ask freebsd-mips community to test it for mips*-freebsd as well.
Btw, I did not dare submit a patch, because I have no way to test
it, but I suspect the following kludge in gas/config/tc-mips.c:
#ifdef TE_VXWORKS
if (!HAVE_64BIT_OBJECTS && !HAVE_NEWABI)
return (target_big_endian
? "elf32-bigmips-vxworks"
: "elf32-littlemips-vxworks");
#endif
was added to solve the same problem we had with
TE_FreeBSD, and that your solution (ELF_TARGET macro)
can also be used for TE_VXWORKS case.
Best regards
--
Robert Millan