2004-04-05 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / bfd / cpu-vax.c
index 4d5af2348c3cf3fc9799f976b62ccbcd9b560d8b..98f868c44f54835aa8f2045ba322e8ed3bdb3c23 100644 (file)
@@ -1,5 +1,5 @@
 /* bfd back-end for vax support
 /* bfd back-end for vax support
-   Copyright (C) 1990-1991 Free Software Foundation, Inc.
+   Copyright 1990, 1991, 1994, 2000, 2002 Free Software Foundation, Inc.
    Written by Steve Chamberlain of Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
    Written by Steve Chamberlain of Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -16,15 +16,13 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 
-#include <sysdep.h>
-#include <bfd.h>
+#include "bfd.h"
+#include "sysdep.h"
 #include "libbfd.h"
 
 #include "libbfd.h"
 
-
-
-static bfd_arch_info_struct_type arch_info_struct = 
+const bfd_arch_info_type bfd_vax_arch =
   {
     32,        /* 32 bits in a word */
     32,        /* 32 bits in an address */
   {
     32,        /* 32 bits in a word */
     32,        /* 32 bits in an address */
@@ -33,20 +31,9 @@ static bfd_arch_info_struct_type arch_info_struct =
     0, /* only 1 machine */
     "vax",
     "vax",
     0, /* only 1 machine */
     "vax",
     "vax",
-    true, /* the one and only */
-    bfd_default_compatible, 
+    3,
+    TRUE, /* the one and only */
+    bfd_default_compatible,
     bfd_default_scan ,
     0,
     bfd_default_scan ,
     0,
-    0,
   };
   };
-
-
-
-
-void DEFUN_VOID(bfd_vax_arch)
-{
-  bfd_arch_linkin(&arch_info_struct);
-}
-
-
-
This page took 0.027289 seconds and 4 git commands to generate.