This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, RFC] gas support for powerpc*-freebsd


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]