This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] elf32-nds32: Remove elf32_nds32_allocate_dynrelocs
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 26 Sep 2018 10:00:51 -0400
- Subject: [binutils-gdb] elf32-nds32: Remove elf32_nds32_allocate_dynrelocs
*** TEST RESULTS FOR COMMIT 853924149dfc2a3b67fda0a491dc5716d7322a74 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 853924149dfc2a3b67fda0a491dc5716d7322a74
elf32-nds32: Remove elf32_nds32_allocate_dynrelocs
It is unused, removing it fixes this error when building with clang:
/home/emaisin/src/binutils-gdb/bfd/elf32-nds32.c:3172:1: error: unused function 'elf32_nds32_allocate_dynrelocs' [-Werror,-Wunused-function]
elf32_nds32_allocate_dynrelocs (struct bfd_link_info *info, asection *sreloc,
^
1 error generated.
gcc only reports the error if you remove "inline". I don't know if this
is actually a mistake and it should actually be used though.
gdb/ChangeLog:
* elf32-nds32.c (elf32_nds32_allocate_dynrelocs): Remove.