diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-08 22:55:42 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-08 23:24:05 +0000 |
commit | 731f7c4ea30cc409c45412eec15e3d66afe051f5 (patch) | |
tree | 0558e70c75cee1f90215d9c3f9e05999b022a56b /gas/ChangeLog | |
parent | bf355b690f07315bf2704e349c4f1c9ca611f031 (diff) | |
download | gdb-731f7c4ea30cc409c45412eec15e3d66afe051f5.zip gdb-731f7c4ea30cc409c45412eec15e3d66afe051f5.tar.gz gdb-731f7c4ea30cc409c45412eec15e3d66afe051f5.tar.bz2 |
ARC/GAS: Correct a `spaces' global shadowing error
Fix a commit a9752fdf8398 ("[ARC] Sync cpu names with the ones accepted
by GCC.") build regression:
cc1: warnings being treated as errors
.../gas/config/tc-arc.c: In function 'arc_show_cpu_list':
.../gas/config/tc-arc.c:3452: error: declaration of 'spaces' shadows a global declaration
.../gas/../include/libiberty.h:248: error: shadowed declaration is here
make[4]: *** [tc-arc.o] Error 1
in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").
gas/
* config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
variable to `space_buf'.
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 7def377..f05bcd4d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2016-12-08 Maciej W. Rozycki <macro@imgtec.com> + * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local + variable to `space_buf'. + +2016-12-08 Maciej W. Rozycki <macro@imgtec.com> + * config/tc-arm.c (encode_arm_shift): Rename `index' local variable to `op_index'. |