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 | |
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')
-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 |