From 7b14583ef0c858dc8f29c127f70b034f7f5d4ad2 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 14 May 2016 16:31:45 -0400 Subject: [PATCH] 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. --- gas/ChangeLog | 4 ++++ gas/config/tc-m32r.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.7.4