aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m32r.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-14 16:31:45 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-16 05:06:48 -0400
commit7b14583ef0c858dc8f29c127f70b034f7f5d4ad2 (patch)
tree1d156aa41117eb2b00580c6ef16693c572f0c2fb /gas/config/tc-m32r.c
parent0591130a7c17645db7a62598f6768e9a1cc8d839 (diff)
downloadgdb-7b14583ef0c858dc8f29c127f70b034f7f5d4ad2.zip
gdb-7b14583ef0c858dc8f29c127f70b034f7f5d4ad2.tar.gz
gdb-7b14583ef0c858dc8f29c127f70b034f7f5d4ad2.tar.bz2
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 <tbsaunde+binutils@tbsaunde.org> * config/tc-m32r.c (mach_table): Make static and const.
Diffstat (limited to 'gas/config/tc-m32r.c')
-rw-r--r--gas/config/tc-m32r.c2
1 files changed, 1 insertions, 1 deletions
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;