X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Fcpu-a29k.c;h=5bd25a47720bdbddb2fc17c0428310cd26a86638;hb=e98fe4f7b54cbdf29aef9287bbb1bea8801dd05a;hp=3e1438c282f08781152e865cc616aaebde1bf415;hpb=431b4422004af53c4704cad0d554e694d3631cf4;p=binutils-gdb.git diff --git a/bfd/cpu-a29k.c b/bfd/cpu-a29k.c index 3e1438c282f..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 */ @@ -16,10 +36,4 @@ static bfd_arch_info_type arch_info_struct = bfd_default_compatible, bfd_default_scan , 0, - bfd_default_reloc_type_lookup, }; - -void DEFUN_VOID(bfd_a29k_arch) -{ - bfd_arch_linkin(&arch_info_struct); -}