diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-10-18 04:36:01 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-10-18 04:39:37 +0100 |
commit | eaf0270367cea4695d461261eb7fbd16caaeacf1 (patch) | |
tree | 33b1ed40e301ffc00468962dd0eaa997ef52918b /opcodes/ChangeLog | |
parent | 61034b0b6acc6ff72def5f5ecdbe628edc5d67ea (diff) | |
download | gdb-eaf0270367cea4695d461261eb7fbd16caaeacf1.zip gdb-eaf0270367cea4695d461261eb7fbd16caaeacf1.tar.gz gdb-eaf0270367cea4695d461261eb7fbd16caaeacf1.tar.bz2 |
AArch64/opcodes: Correct an `index' global shadowing error
Fix a commit 4df068de5214 ("Add support for SVE addressing modes") build
regression:
cc1: warnings being treated as errors
.../opcodes/aarch64-dis.c: In function 'aarch64_ext_sve_addr_rr_lsl':
.../opcodes/aarch64-dis.c:1324: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:303: error: shadowed declaration is here
make[3]: *** [aarch64-dis.lo] Error 1
in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").
opcodes/
* aarch64-dis.c (aarch64_ext_sve_addr_rr_lsl): Rename `index'
local variable to `index_regno'.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e3cba76..3092e22 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2016-10-18 Maciej W. Rozycki <macro@imgtec.com> + + * aarch64-dis.c (aarch64_ext_sve_addr_rr_lsl): Rename `index' + local variable to `index_regno'. + 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com> * arc-tbl.h: Removed any "inv.+" instructions from the table. |