aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-nds32.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-10-18 04:28:34 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-10-18 04:32:43 +0100
commitc48182bfe408e06e3301ee887fd9a7b06bedff37 (patch)
treea5c6845f73f0f4ee608f977960af93c3c2078391 /bfd/elf32-nds32.c
parentb252dcee39143928a8a1cbb37f770b9266e2c143 (diff)
downloadfsf-binutils-gdb-c48182bfe408e06e3301ee887fd9a7b06bedff37.zip
fsf-binutils-gdb-c48182bfe408e06e3301ee887fd9a7b06bedff37.tar.gz
fsf-binutils-gdb-c48182bfe408e06e3301ee887fd9a7b06bedff37.tar.bz2
ARM/BFD: Correct an `index' global shadowing error
Fix a commit 5025eb7c0d87 ("Delete relocations associatesd with deleted exidx entries.") build regression: cc1: warnings being treated as errors .../bfd/elf32-arm.c: In function 'elf32_arm_update_relocs': .../bfd/elf32-arm.c:14951: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:304: warning: shadowed declaration is here make[3]: *** [elf32-arm.lo] Error 1 in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command line options used when compiling the binutils."). bfd/ * elf32-arm.c (elf32_arm_update_relocs): Rename `index' local variable to `reloc_index'.
Diffstat (limited to 'bfd/elf32-nds32.c')
0 files changed, 0 insertions, 0 deletions