Fix minor NDS32 renaming snafu.

* config/tc-nds32.c: Change all references of keyword_gpr to
	nds32_keyword_gpr.
This commit is contained in:
Nick Clifton 2021-07-02 10:45:02 +01:00
parent 7eb1f99ada
commit af82b082c2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2021-07-02 Nick Clifton <nickc@redhat.com>
* config/tc-nds32.c: Change all references of keyword_gpr to
nds32_keyword_gpr.
2021-07-01 Mike Frysinger <vapier@gentoo.org>
* config/tc-microblaze.c (md_begin): Make opcode const. Rename

View File

@ -97,7 +97,7 @@ static int optimize_for_space = 0;
static int label_exist = 0;
/* Flag to save state in omit_fp region. */
static int in_omit_fp = 0;
extern struct nds32_keyword keyword_gpr[];
extern struct nds32_keyword nds32_keyword_gpr[];
/* Tag there is relax relocation having to link. */
static bool relaxing = false;
/* ICT model. */
@ -4615,7 +4615,7 @@ md_begin (void)
/* Initial general purpose registers hash table. */
nds32_gprs_hash = str_htab_create ();
for (k = keyword_gpr; k->name; k++)
for (k = nds32_keyword_gpr; k->name; k++)
str_hash_insert (nds32_gprs_hash, k->name, k, 0);
/* Initial branch hash table. */