aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arc.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2016-03-28 22:48:34 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2016-04-01 15:47:08 +0100
commit83cda17b6f9d4410a52b680bc5ab7fc1dae29887 (patch)
tree62718742a5f49c0b8651920923dedffcd3823c39 /gas/config/tc-arc.h
parent7b15fa7ac802f430f7fb7c2b77f40ab78c2e4018 (diff)
downloadgdb-83cda17b6f9d4410a52b680bc5ab7fc1dae29887.zip
gdb-83cda17b6f9d4410a52b680bc5ab7fc1dae29887.tar.gz
gdb-83cda17b6f9d4410a52b680bc5ab7fc1dae29887.tar.bz2
gas/arc: Change 'LENGHT' to 'LENGTH'
Small spelling mistake in a #define, fixed in this commit. gas/ChangeLog: * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to... (MAX_FLAG_NAME_LENGTH): ...this. (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH. * config/tc-arc.c (tokenize_flags): Likewise.
Diffstat (limited to 'gas/config/tc-arc.h')
-rw-r--r--gas/config/tc-arc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-arc.h b/gas/config/tc-arc.h
index 95efd77..93a7d77 100644
--- a/gas/config/tc-arc.h
+++ b/gas/config/tc-arc.h
@@ -210,12 +210,12 @@ extern int tc_arc_regname_to_dw2regnum (char *regname);
#define NOP_OPCODE_S 0x000078E0
#define NOP_OPCODE_L 0x264A7000 /* mov 0,0. */
-#define MAX_FLAG_NAME_LENGHT 3
+#define MAX_FLAG_NAME_LENGTH 3
struct arc_flags
{
/* Name of the parsed flag. */
- char name[MAX_FLAG_NAME_LENGHT + 1];
+ char name[MAX_FLAG_NAME_LENGTH + 1];
/* The code of the parsed flag. Valid when is not zero. */
unsigned char code;