1991-10-11 18:11:37 +08:00
|
|
|
#include "bfd.h"
|
|
|
|
#include "sysdep.h"
|
1991-10-01 11:43:11 +08:00
|
|
|
#include "libbfd.h"
|
|
|
|
|
1991-10-07 10:16:22 +08:00
|
|
|
static bfd_arch_info_type arch_info_struct =
|
1991-10-01 11:43:11 +08: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-05 02:30:12 +08:00
|
|
|
4,
|
1991-10-01 11:43:11 +08:00
|
|
|
true, /* the one and only */
|
|
|
|
bfd_default_compatible,
|
|
|
|
bfd_default_scan ,
|
|
|
|
0,
|
1991-11-06 06:18:59 +08:00
|
|
|
bfd_default_reloc_type_lookup,
|
1991-10-01 11:43:11 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
void DEFUN_VOID(bfd_a29k_arch)
|
|
|
|
{
|
|
|
|
bfd_arch_linkin(&arch_info_struct);
|
|
|
|
}
|