1992-10-15 10:59:13 +00:00
|
|
|
/* 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
|
|
|
1991-10-11 10:11:37 +00:00
|
|
|
#include "bfd.h"
|
|
|
|
#include "sysdep.h"
|
1991-10-01 03:43:11 +00:00
|
|
|
#include "libbfd.h"
|
|
|
|
|
1991-10-07 02:16:22 +00:00
|
|
|
static bfd_arch_info_type arch_info_struct =
|
1991-10-01 03:43:11 +00:00
|
|
|
{
|
|
|
|
32, /* 32 bits in a word */
|
|
|
|
32, /* 32 bits in an address */
|
|
|
|
8, /* 8 bits in a byte */
|
|
|
|
bfd_arch_a29k,
|
|
|
|
0, /* only 1 machine */
|
|
|
|
"a29k",
|
|
|
|
"a29k",
|
* aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
computation of arch and machine type so it's worked out before
some_aout_object_p is called.
* aoutx.h: (some_aout_object_p): don't set arch and mach to
unknown.
* archures.c: add extra field 'section_align_power' to hold
default section alignment in object files.
* cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
initialize the new field.
* bout.c (b_out_callback): replace the text size, since aout
fries them.
* aoutx.h: Documentation in the new style
1991-12-04 18:30:12 +00:00
|
|
|
4,
|
1991-10-01 03:43:11 +00:00
|
|
|
true, /* the one and only */
|
|
|
|
bfd_default_compatible,
|
|
|
|
bfd_default_scan ,
|
|
|
|
0,
|
|
|
|
};
|
|
|
|
|
* Most files:
Replace DEFUN and DEFUN_VOID with K&R-style function definition.
Indent some of them to GNU standards.
* aout32.c, archures.c, core.c, cpu-h8300.c, cpu-i960.c,
cpu-m68k.c, cpu-m88k.c, cpu-mips.c, cpu-vax.c, ctor.c, demo64.c,
elf32-hppa.h, gen-aout.c, host-aout.c, init.c, libhppa.h,
libieee.h, liboasys.h, newsos3.c, som.h, stab-syms.c, sunos.c:
Update copyright years.
1994-03-15 15:13:13 +00:00
|
|
|
void
|
|
|
|
bfd_a29k_arch ()
|
1991-10-01 03:43:11 +00:00
|
|
|
{
|
|
|
|
bfd_arch_linkin(&arch_info_struct);
|
|
|
|
}
|