This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] remove some unused globals


From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>

hi,

$subject, built crosses to msp430-elf and m32c-elf, ok?

Trev

gas/ChangeLog:

2016-04-12  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* config/tc-m32c.c (M32C_Macros): Remove.
	* config/tc-msp430.c (option_numbers): Likewise.
---
 gas/config/tc-m32c.c   | 2 +-
 gas/config/tc-msp430.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gas/config/tc-m32c.c b/gas/config/tc-m32c.c
index 70f0aeb..b28797b 100644
--- a/gas/config/tc-m32c.c
+++ b/gas/config/tc-m32c.c
@@ -475,7 +475,7 @@ enum {
   M32C_MACRO_ADJNZ_3,
   M32C_MACRO_ADJNZ_4,
   M32C_MACRO_ADJNZ_5,
-} M32C_Macros;
+};
 
 static struct {
   int insn;
diff --git a/gas/config/tc-msp430.c b/gas/config/tc-msp430.c
index f9df729..8e95b1d 100644
--- a/gas/config/tc-msp430.c
+++ b/gas/config/tc-msp430.c
@@ -684,7 +684,7 @@ enum
 {
   OPTION_SILICON_ERRATA = OPTION_MD_BASE,
   OPTION_SILICON_ERRATA_WARN,
-} option_numbers;
+};
 
 static unsigned int silicon_errata_fix = 0;
 static unsigned int silicon_errata_warn = 0;
-- 
2.1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]