m32r: make mach_table static and const
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sat, 14 May 2016 20:31:45 +0000 (16:31 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Mon, 16 May 2016 09:06:48 +0000 (05:06 -0400)
It is only read in tc-m32r.c, so it might as well be static and const, and
that should help the compiler slightly.

gas/ChangeLog:

2016-05-16  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* config/tc-m32r.c (mach_table): Make static and const.

gas/ChangeLog
gas/config/tc-m32r.c

index 82d58b935a3f36a744c4dc224df2e91ba2bced17..eea0f8bfa2af8354de5774a49aaf983ac3c1037a 100644 (file)
@@ -1,3 +1,7 @@
+2016-05-16  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-m32r.c (mach_table): Make static and const.
+
 2016-05-16  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
        * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
index f77c1f180bfd3c8bbaba76e357726f031fac081e..3387fe3038098c08df551dd18e429ea08259b406 100644 (file)
@@ -164,7 +164,7 @@ struct m32r_hi_fixup
 
 static struct m32r_hi_fixup *m32r_hi_fixup_list;
 \f
-struct
+static const struct
 {
   enum bfd_architecture bfd_mach;
   int mach_flags;
This page took 0.036917 seconds and 4 git commands to generate.