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]

Add support for Ericsson's DICOS OS


Hi,

This patch basic support for Ericsson's DICOS OS.  These are the
needed bfd bits to build i686-dicos-gdb and x86_64-dicos-gdb.
The src/config.sub support is already in, due to the merge from
upstream Ben Elliston did a few hours ago.

OK?

-- 
Pedro Alves
bfd/
2008-04-14  Pedro Alves  <pedro@codesourcery.com>

	* config.bfd (i[3-7]86-*-dicos*, x86_64-*-dicos*): Add.

---
 bfd/config.bfd |    9 +++++++++
 1 file changed, 9 insertions(+)

Index: src/bfd/config.bfd
===================================================================
--- src.orig/bfd/config.bfd	2008-04-14 13:48:11.000000000 +0100
+++ src/bfd/config.bfd	2008-04-14 13:50:18.000000000 +0100
@@ -510,6 +510,10 @@ case "${targ}" in
   i[3-7]86-*-chorus*)
     targ_defvec=bfd_elf32_i386_vec
     ;;
+  i[3-7]86-*-dicos*)
+    targ_defvec=bfd_elf32_i386_vec
+    targ64_selvecs=bfd_elf64_x86_64_vec
+    ;;
   *-*-msdosdjgpp* | *-*-go32* )
     targ_defvec=go32coff_vec
     targ_selvecs="go32stubbedcoff_vec i386aout_vec"
@@ -585,6 +589,11 @@ case "${targ}" in
     targ64_selvecs=bfd_elf64_x86_64_vec
     ;;
 #ifdef BFD64
+  x86_64-*-dicos*)
+    targ_defvec=bfd_elf64_x86_64_vec
+    targ_selvecs="bfd_elf32_i386_vec"
+    want64=true
+    ;;
   x86_64-*-elf*)
     targ_defvec=bfd_elf64_x86_64_vec
     targ_selvecs="bfd_elf32_i386_vec i386coff_vec"

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