* cpu-iq2000.c (arch_info_struct): Warning fix.

This commit is contained in:
Alan Modra 2003-11-04 23:58:06 +00:00
parent 4fc8051d33
commit d3ec2be8f5
2 changed files with 18 additions and 15 deletions

View File

@ -1,3 +1,7 @@
2003-11-05 Alan Modra <amodra@bigpond.net.au>
* cpu-iq2000.c (arch_info_struct): Warning fix.
2003-11-05 Alan Modra <amodra@bigpond.net.au> 2003-11-05 Alan Modra <amodra@bigpond.net.au>
* elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define. * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.

View File

@ -23,18 +23,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
static const bfd_arch_info_type arch_info_struct[] = static const bfd_arch_info_type arch_info_struct[] =
{ {
32, /* bits per word */ {
32, /* bits per address */ 32, /* bits per word */
8, /* bits per byte */ 32, /* bits per address */
bfd_arch_iq2000, /* architecture */ 8, /* bits per byte */
bfd_mach_iq10, /* machine */ bfd_arch_iq2000, /* architecture */
"iq2000", /* architecture name */ bfd_mach_iq10, /* machine */
"iq10", /* printable name */ "iq2000", /* architecture name */
3, /* section align power */ "iq10", /* printable name */
FALSE, /* the default ? */ 3, /* section align power */
bfd_default_compatible, /* architecture comparison fn */ FALSE, /* the default ? */
bfd_default_scan, /* string to architecture convert fn */ bfd_default_compatible, /* architecture comparison fn */
NULL /* next in list */ bfd_default_scan, /* string to architecture convert fn */
NULL /* next in list */
}
}; };
const bfd_arch_info_type bfd_iq2000_arch = const bfd_arch_info_type bfd_iq2000_arch =
@ -52,6 +54,3 @@ const bfd_arch_info_type bfd_iq2000_arch =
bfd_default_scan, /* string to architecture convert fn */ bfd_default_scan, /* string to architecture convert fn */
&arch_info_struct[0], /* next in list */ &arch_info_struct[0], /* next in list */
}; };