mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-25 02:03:37 +08:00
33 lines
470 B
C
33 lines
470 B
C
#include <sysdep.h>
|
|
#include <bfd.h>
|
|
#include "libbfd.h"
|
|
|
|
|
|
|
|
static bfd_arch_info_struct_type arch_info_struct =
|
|
{
|
|
32, /* 32 bits in a word */
|
|
32, /* 32 bits in an address */
|
|
8, /* 8 bits in a byte */
|
|
bfd_arch_i386,
|
|
0, /* only 1 machine */
|
|
"i386",
|
|
"i386",
|
|
true, /* the one and only */
|
|
bfd_default_compatible,
|
|
bfd_default_scan ,
|
|
0,
|
|
0,
|
|
};
|
|
|
|
|
|
|
|
|
|
void DEFUN_VOID(bfd_i386_arch)
|
|
{
|
|
bfd_arch_linkin(&arch_info_struct);
|
|
}
|
|
|
|
|
|
|