diff options
Diffstat (limited to 'bfd/cpu-i386.c')
-rw-r--r-- | bfd/cpu-i386.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bfd/cpu-i386.c b/bfd/cpu-i386.c new file mode 100644 index 0000000..2bafe58 --- /dev/null +++ b/bfd/cpu-i386.c @@ -0,0 +1,32 @@ +#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); +} + + + |