[patch, RFC] gas support for powerpc*-freebsd
Andreas Tobler
andreast-list@fgznet.ch
Sat Nov 19 21:47:00 GMT 2011
Hi,
this is the second part for powerpc*-freebsd support.
Is this ok for trunk?
Thanks,
Andreas
2011-11-19 Andreas Tobler <andreast@fgznet.ch>
* config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd.
Index: config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.180
diff -u -r1.180 tc-ppc.c
--- config/tc-ppc.c 14 Jun 2011 09:03:51 -0000 1.180
+++ config/tc-ppc.c 19 Nov 2011 21:37:21 -0000
@@ -1370,7 +1370,9 @@
#endif
#endif
#ifdef OBJ_ELF
-# ifdef TE_VXWORKS
+# ifdef TE_FreeBSD
+ return (ppc_obj64 ? "elf64-powerpc-freebsd" : "elf32-powerpc-freebsd");
+# elif TE_VXWORKS
return "elf32-powerpc-vxworks";
# else
return (target_big_endian
More information about the Binutils
mailing list