diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-05-16 20:43:29 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-05-16 20:43:29 +0100 |
commit | 49d519ec2fe80b48f404c0209b41bf8fee47cf39 (patch) | |
tree | 22ac557c6c7cd4a9384cc3773ef866acb382165b /gas/ChangeLog | |
parent | 1624c9ca3fd32bf25b2cb63f99270abe41f718f5 (diff) | |
download | gdb-49d519ec2fe80b48f404c0209b41bf8fee47cf39.zip gdb-49d519ec2fe80b48f404c0209b41bf8fee47cf39.tar.gz gdb-49d519ec2fe80b48f404c0209b41bf8fee47cf39.tar.bz2 |
NDS32/GAS: Correct an `expr' global shadowing error for pre-4.8 GCC
Remove `-Wshadow' compilation errors:
cc1: warnings being treated as errors
.../gas/config/tc-nds32.c: In function 'md_assemble':
.../gas/config/tc-nds32.c:5212: error: declaration of 'expr' shadows a global declaration
.../gas/expr.h:180: error: shadowed declaration is here
make[4]: *** [tc-nds32.o] Error 1
which for versions of GCC before 4.8 prevent support for NDS32 targets
from being built. See also GCC PR c/53066.
gas/
* tc-nds32.c (md_assemble): Rename `expr' local variable to
`insn_expr'.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a89ffe1..c2a5659 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-05-16 Maciej W. Rozycki <macro@mips.com> + + * tc-nds32.c (md_assemble): Rename `expr' local variable to + `insn_expr'. + 2018-05-15 Tamar Christina <tamar.christina@arm.com> PR binutils/21446 |