diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-04-13 04:15:10 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-04-14 17:06:26 -0400 |
commit | 4f2a7b5121a682dd924cafc252c8ded8813f0f61 (patch) | |
tree | 459c87098687f3fb370fb64c973ddbfbf476e485 /gas/config/tc-nios2.c | |
parent | 85e53f6272cc71b16db89239a3a542184d01996c (diff) | |
download | fsf-binutils-gdb-4f2a7b5121a682dd924cafc252c8ded8813f0f61.zip fsf-binutils-gdb-4f2a7b5121a682dd924cafc252c8ded8813f0f61.tar.gz fsf-binutils-gdb-4f2a7b5121a682dd924cafc252c8ded8813f0f61.tar.bz2 |
make a few variables static
They are only used in one file, so we might as well restrict there scope to
that file, and theoretically this might slightly improve compilers ability to
optimize usage of these variables.
gas/ChangeLog:
2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-nios2.c (nios2_as_options): Make file static.
* config/tc-ppc.c (toc_reloc_ypes): Likewise.
* config/tc-sparc.c (native_op_table): Likewise.
Diffstat (limited to 'gas/config/tc-nios2.c')
-rw-r--r-- | gas/config/tc-nios2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-nios2.c b/gas/config/tc-nios2.c index bf37ff7..d207758 100644 --- a/gas/config/tc-nios2.c +++ b/gas/config/tc-nios2.c @@ -98,7 +98,7 @@ typedef enum } relax_optionT; /* Struct contains all assembler options set with .set. */ -struct +static struct { /* .set noat -> noat = 1 allows assembly code to use at without warning and macro expansions generate a warning. |