bfd/nds32: remove unused got_size variable
Building bfd with a recent clang fails with:
/home/smarchi/src/binutils-gdb/bfd/elf32-nds32.c:154:13: error: variable 'got_size' set but not used [-Werror,-Wunused-but-set-global]
The variable has been unused since it was introduced by commit
35c081572f32 ("Add support for Andes NDS32:", 2013-12-13). Remove it,
along with the comment that describes it. The branches handling the
.got and .got.plt sections in nds32_elf_late_size_sections become
empty, merge them with the one handling .plt.
Cc: Kuan-Lin Chen <kuanlinchentw@gmail.com>
Cc: Wei-Cheng Wang <cole945@gmail.com>
1 file changed