From d3ec2be8f59bb38dc25852f41cb184c31147f8ff Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 4 Nov 2003 23:58:06 +0000 Subject: [PATCH] * cpu-iq2000.c (arch_info_struct): Warning fix. --- bfd/ChangeLog | 4 ++++ bfd/cpu-iq2000.c | 29 ++++++++++++++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 29755baa25f..691427beb02 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2003-11-05 Alan Modra + + * cpu-iq2000.c (arch_info_struct): Warning fix. + 2003-11-05 Alan Modra * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define. diff --git a/bfd/cpu-iq2000.c b/bfd/cpu-iq2000.c index fd6d2307f4e..4545f3012df 100644 --- a/bfd/cpu-iq2000.c +++ b/bfd/cpu-iq2000.c @@ -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[] = { - 32, /* bits per word */ - 32, /* bits per address */ - 8, /* bits per byte */ - bfd_arch_iq2000, /* architecture */ - bfd_mach_iq10, /* machine */ - "iq2000", /* architecture name */ - "iq10", /* printable name */ - 3, /* section align power */ - FALSE, /* the default ? */ - bfd_default_compatible, /* architecture comparison fn */ - bfd_default_scan, /* string to architecture convert fn */ - NULL /* next in list */ + { + 32, /* bits per word */ + 32, /* bits per address */ + 8, /* bits per byte */ + bfd_arch_iq2000, /* architecture */ + bfd_mach_iq10, /* machine */ + "iq2000", /* architecture name */ + "iq10", /* printable name */ + 3, /* section align power */ + FALSE, /* the default ? */ + bfd_default_compatible, /* architecture comparison fn */ + bfd_default_scan, /* string to architecture convert fn */ + NULL /* next in list */ + } }; 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 */ &arch_info_struct[0], /* next in list */ }; - - - -- 2.30.2