[PATCH #1] mips*-kfreebsd-gnu support in BFD
Robert Millan
rmh@gnu.org
Fri Dec 31 16:51:00 GMT 2010
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
More information about the Binutils
mailing list