X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Fcpu-a29k.c;h=5bd25a47720bdbddb2fc17c0428310cd26a86638;hb=e98fe4f7b54cbdf29aef9287bbb1bea8801dd05a;hp=e780d4078dd49ce7874f8c41bc10f21c51af79ee;hpb=d60f7e480428ff9bdf50ca123bf764d655bfd845;p=binutils-gdb.git diff --git a/bfd/cpu-a29k.c b/bfd/cpu-a29k.c index e780d4078dd..5bd25a47720 100644 --- a/bfd/cpu-a29k.c +++ b/bfd/cpu-a29k.c @@ -1,8 +1,28 @@ +/* BFD support for the AMD 29000 architecture. + Copyright 1992 Free Software Foundation, Inc. + Hacked by Steve Chamberlain of Cygnus Support. + +This file is part of BFD, the Binary File Descriptor library. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +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., 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_a29k_arch = { 32, /* 32 bits in a word */ 32, /* 32 bits in an address */ @@ -11,14 +31,9 @@ static bfd_arch_info_type arch_info_struct = 0, /* only 1 machine */ "a29k", "a29k", + 4, true, /* the one and only */ bfd_default_compatible, bfd_default_scan , 0, - bfd_default_reloc_type_lookup, }; - -void DEFUN_VOID(bfd_a29k_arch) -{ - bfd_arch_linkin(&arch_info_struct); -}