Change PLT code to avoid using r2 - it used by GCC to return large startures
[deliverable/binutils-gdb.git] / bfd / cpu-we32k.c
index 81e741a656b10cdad38e1197e74ee4e228c25b6f..dc87d0a95cc3f90d247fe817f60ccf37be83c09f 100644 (file)
@@ -1,5 +1,5 @@
 /* bfd back-end for we32k support
-   Copyright (C) 1992 Free Software Foundation, Inc.
+   Copyright 1992, 2000 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@cs.widener.edu).
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -16,13 +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
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "bfd.h"
 #include "sysdep.h"
 #include "libbfd.h"
 
-static bfd_arch_info_type arch_info_struct = 
+const bfd_arch_info_type bfd_we32k_arch =
   {
     32,        /* 32 bits in a word */
     32,        /* 32 bits in an address */
@@ -33,12 +33,7 @@ static bfd_arch_info_type arch_info_struct =
     "we32k:32000",
     3,
     true, /* the one and only */
-    bfd_default_compatible, 
+    bfd_default_compatible,
     bfd_default_scan ,
-    0, /* disassemble */
+    0,
   };
-
-void DEFUN_VOID(bfd_we32k_arch)
-{
-  bfd_arch_linkin(&arch_info_struct);
-}
This page took 0.023483 seconds and 4 git commands to generate.