diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-02-14 08:35:02 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-02-14 08:35:02 +0100 |
commit | 12ef68305572ed139825be827b2bb1d1aef3ca25 (patch) | |
tree | f65243cc87500acc6b2ad0f37d50a478753d8ce9 /gas/expr.c | |
parent | 676dcbb0a025640f66b2784555016bc901d09d52 (diff) | |
download | gdb-12ef68305572ed139825be827b2bb1d1aef3ca25.zip gdb-12ef68305572ed139825be827b2bb1d1aef3ca25.tar.gz gdb-12ef68305572ed139825be827b2bb1d1aef3ca25.tar.bz2 |
gas: correct symbol name comparison in .startof./.sizeof. handling
In 162c6aef1f3a ("gas: fold symbol table entries generated for
.startof.() / .sizeof.()") I screwed up quite badly, inverting the case
sensitive and case insensitive comparison functions.
Diffstat (limited to 'gas/expr.c')
-rw-r--r-- | gas/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,8 +149,8 @@ symbol_lookup_or_make (const char *name, bool start) name = S_GET_NAME (symbolP); if ((symbols_case_sensitive - ? strcasecmp (buf, name) - : strcmp (buf, name)) == 0) + ? strcmp (buf, name) + : strcasecmp (buf, name)) == 0) { free (buf); return symbolP; |