* config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd.

This commit is contained in:
Alan Modra
2011-11-21 13:19:33 +00:00
parent 7b8e7dad71
commit edc1d65242
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-11-21 Andreas Tobler <andreast@fgznet.ch>
* config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd.
2011-11-16 David S. Miller <davem@davemloft.net>
* config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.

View File

@ -1363,14 +1363,16 @@ ppc_target_format (void)
return "xcoff-powermac";
#else
# ifdef TE_AIX5
return (ppc_obj64 ? "aix5coff64-rs6000" : "aixcoff-rs6000");
return (ppc_obj64 ? "aix5coff64-rs6000" : "aixcoff-rs6000");
# else
return (ppc_obj64 ? "aixcoff64-rs6000" : "aixcoff-rs6000");
return (ppc_obj64 ? "aixcoff64-rs6000" : "aixcoff-rs6000");
# endif
#endif
#endif
#ifdef OBJ_ELF
# ifdef TE_VXWORKS
# ifdef TE_FreeBSD
return (ppc_obj64 ? "elf64-powerpc-freebsd" : "elf32-powerpc-freebsd");
# elif defined (TE_VXWORKS)
return "elf32-powerpc-vxworks";
# else
return (target_big_endian