aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-arc.h9
2 files changed, 7 insertions, 8 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6159218..46ce10d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * config/tc-arc.h: Include 'opcode/arc.h'.
+ (MAX_INSN_ARGS): Delete.
+ (MAX_INSN_FLGS): Delete.
+
2016-04-04 Alan Modra <amodra@gmail.com>
PR 19498
diff --git a/gas/config/tc-arc.h b/gas/config/tc-arc.h
index 93a7d77..7c193fe 100644
--- a/gas/config/tc-arc.h
+++ b/gas/config/tc-arc.h
@@ -20,6 +20,7 @@
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+#include "opcode/arc.h"
/* By convention, you should define this macro in the `.h' file. For
example, `tc-m68k.h' defines `TC_M68K'. You might have to use this
@@ -221,14 +222,6 @@ struct arc_flags
unsigned char code;
};
-#ifndef MAX_INSN_ARGS
-#define MAX_INSN_ARGS 6
-#endif
-
-#ifndef MAX_INSN_FLGS
-#define MAX_INSN_FLGS 3
-#endif
-
extern const relax_typeS md_relax_table[];
#define TC_GENERIC_RELAX_TABLE md_relax_table