From: Trevor Saunders Date: Sat, 14 May 2016 20:31:45 +0000 (-0400) Subject: m32r: make mach_table static and const X-Git-Tag: binutils-2_27~511 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b14583ef0c858dc8f29c127f70b034f7f5d4ad2;p=external%2Fbinutils.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 82d58b9..eea0f8b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 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 definition. diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c index f77c1f1..3387fe3 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;