diff options
author | Nick Clifton <nickc@redhat.com> | 2021-07-02 10:45:02 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-07-02 10:45:02 +0100 |
commit | af82b082c27eeefa261753e746fd002cc528cd1f (patch) | |
tree | afa2930e23a01f53b55364b5fb2270d39710013c | |
parent | 7eb1f99adaa3515463b6082e4a911d8b334e852f (diff) | |
download | gdb-af82b082c27eeefa261753e746fd002cc528cd1f.zip gdb-af82b082c27eeefa261753e746fd002cc528cd1f.tar.gz gdb-af82b082c27eeefa261753e746fd002cc528cd1f.tar.bz2 |
Fix minor NDS32 renaming snafu.
* config/tc-nds32.c: Change all references of keyword_gpr to
nds32_keyword_gpr.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-nds32.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0d830d6..c154835 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-nds32.c b/gas/config/tc-nds32.c index c5bad6b4..04ae689 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. */ |