From: Trevor Saunders Date: Sat, 14 May 2016 20:31:45 +0000 (-0400) Subject: m32r: make mach_table static and const X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7b14583ef0c858dc8f29c127f70b034f7f5d4ad2;p=deliverable%2Fbinutils-gdb.git m32r: make mach_table static and const 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 * config/tc-m32r.c (mach_table): Make static and const. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 82d58b935a..eea0f8bfa2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-05-16 Trevor Saunders + + * config/tc-m32r.c (mach_table): Make static and const. + 2016-05-16 Trevor Saunders * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c index f77c1f180b..3387fe3038 100644 --- a/gas/config/tc-m32r.c +++ b/gas/config/tc-m32r.c @@ -164,7 +164,7 @@ struct m32r_hi_fixup static struct m32r_hi_fixup *m32r_hi_fixup_list; -struct +static const struct { enum bfd_architecture bfd_mach; int mach_flags;