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.
2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
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.
+
+2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+
* config/tc-m32c.c (M32C_Macros): Remove.
* config/tc-msp430.c (option_numbers): Likewise.
* config/tc-m32c.c (M32C_Macros): Remove.
* config/tc-msp430.c (option_numbers): Likewise.
} relax_optionT;
/* Struct contains all assembler options set with .set. */
} relax_optionT;
/* Struct contains all assembler options set with .set. */
{
/* .set noat -> noat = 1 allows assembly code to use at without warning
and macro expansions generate a warning.
{
/* .set noat -> noat = 1 allows assembly code to use at without warning
and macro expansions generate a warning.
unsigned int ppc_abiversion = 0;
/* Flags set on encountering toc relocs. */
unsigned int ppc_abiversion = 0;
/* Flags set on encountering toc relocs. */
has_large_toc_reloc = 1,
has_small_toc_reloc = 2
} toc_reloc_types;
has_large_toc_reloc = 1,
has_small_toc_reloc = 2
} toc_reloc_types;
}
\f
/* Native operand size opcode translation. */
}
\f
/* Native operand size opcode translation. */
{
const char *name;
const char *name32;
{
const char *name;
const char *name32;