diff options
Diffstat (limited to 'binutils-2.22/bfd/cpu-tilegx.c')
-rw-r--r-- | binutils-2.22/bfd/cpu-tilegx.c | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/binutils-2.22/bfd/cpu-tilegx.c b/binutils-2.22/bfd/cpu-tilegx.c index aa2fe80..11234ec 100644 --- a/binutils-2.22/bfd/cpu-tilegx.c +++ b/binutils-2.22/bfd/cpu-tilegx.c @@ -1,5 +1,5 @@ /* BFD support for the TILE-Gx processor. - Copyright 2011 Free Software Foundation, Inc. + Copyright 2011, 2012 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -18,10 +18,27 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "bfd.h" #include "sysdep.h" +#include "bfd.h" #include "libbfd.h" +const bfd_arch_info_type bfd_tilegx32_arch = + { + 32, /* 32 bits in a word */ + 32, /* 32 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_tilegx, + bfd_mach_tilegx32, + "tilegx32", + "tilegx32", + 3, + FALSE, + bfd_default_compatible, + bfd_default_scan, + bfd_arch_default_fill, + 0, + }; + const bfd_arch_info_type bfd_tilegx_arch = { 64, /* 64 bits in a word */ @@ -35,5 +52,6 @@ const bfd_arch_info_type bfd_tilegx_arch = TRUE, bfd_default_compatible, bfd_default_scan, - 0, + bfd_arch_default_fill, + &bfd_tilegx32_arch, }; |