From: Nick Clifton Date: Fri, 2 Jul 2021 09:45:02 +0000 (+0100) Subject: Fix minor NDS32 renaming snafu. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af82b082c27eeefa261753e746fd002cc528cd1f;p=binutils-gdb.git Fix minor NDS32 renaming snafu. * config/tc-nds32.c: Change all references of keyword_gpr to nds32_keyword_gpr. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 0d830d62b52..c154835ddba 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2021-07-02 Nick Clifton + + * config/tc-nds32.c: Change all references of keyword_gpr to + nds32_keyword_gpr. + 2021-07-01 Mike Frysinger * config/tc-microblaze.c (md_begin): Make opcode const. Rename diff --git a/gas/config/tc-nds32.c b/gas/config/tc-nds32.c index c5bad6b476a..04ae6895ec1 100644 --- a/gas/config/tc-nds32.c +++ b/gas/config/tc-nds32.c @@ -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. */