aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-11-04 23:58:06 +0000
committerAlan Modra <amodra@gmail.com>2003-11-04 23:58:06 +0000
commitd3ec2be8f59bb38dc25852f41cb184c31147f8ff (patch)
treed83edc2d9cd1573db7519e3b9ab8ab9258b14112
parent4fc8051d3326910a44e4bebe5a2c3e788c8a71cf (diff)
downloadgdb-d3ec2be8f59bb38dc25852f41cb184c31147f8ff.zip
gdb-d3ec2be8f59bb38dc25852f41cb184c31147f8ff.tar.gz
gdb-d3ec2be8f59bb38dc25852f41cb184c31147f8ff.tar.bz2
* cpu-iq2000.c (arch_info_struct): Warning fix.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/cpu-iq2000.c29
2 files changed, 18 insertions, 15 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 29755ba..691427b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
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>
+
* elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
(elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on
weakdefs.
diff --git a/bfd/cpu-iq2000.c b/bfd/cpu-iq2000.c
index fd6d230..4545f30 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 */
};
-
-
-