diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index da88c3b..7ced749 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index aba7097..17fb84d 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -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 |