You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
470 B
33 lines
470 B
|
35 years ago
|
#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);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|