diff options
author | Alan Modra <amodra@gmail.com> | 2011-11-21 13:19:33 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-11-21 13:19:33 +0000 |
commit | edc1d65242992c050acce8afbd26191abf6bb433 (patch) | |
tree | 22fbe80f3e7a4c4049a0a8b57a6ce37222f5a8a0 /gas/config | |
parent | 7b8e7dad7131b75d8e0e4f0560002006b91e8ff3 (diff) | |
download | gdb-edc1d65242992c050acce8afbd26191abf6bb433.zip gdb-edc1d65242992c050acce8afbd26191abf6bb433.tar.gz gdb-edc1d65242992c050acce8afbd26191abf6bb433.tar.bz2 |
* config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ppc.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 |