aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-cris.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2017-01-27 09:12:14 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2017-01-27 09:12:14 +0100
commit22d9a0dee3a69973858000b326cf8eaa14ce7180 (patch)
tree247b765fee1541a50c7dc64beac4a4199cf4411e /bfd/elf32-cris.c
parent1fbd05e16ebde966e44c1108dc77871f3fba329a (diff)
downloadgdb-22d9a0dee3a69973858000b326cf8eaa14ce7180.zip
gdb-22d9a0dee3a69973858000b326cf8eaa14ce7180.tar.gz
gdb-22d9a0dee3a69973858000b326cf8eaa14ce7180.tar.bz2
Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol
* elf32-cris.c (elf_cris_finish_dynamic_symbol): Remove now unused local variable dynobj.
Diffstat (limited to 'bfd/elf32-cris.c')
-rw-r--r--bfd/elf32-cris.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index 0c8945e..a69c7e4 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -2057,7 +2057,6 @@ elf_cris_finish_dynamic_symbol (bfd *output_bfd,
Elf_Internal_Sym *sym)
{
struct elf_cris_link_hash_table * htab;
- bfd *dynobj;
/* Where in the plt entry to put values. */
int plt_off1 = 2, plt_off2 = 10, plt_off3 = 16;
@@ -2089,8 +2088,6 @@ elf_cris_finish_dynamic_symbol (bfd *output_bfd,
plt_pic_entry = elf_cris_pic_plt_entry_v32;
}
- dynobj = htab->root.dynobj;
-
if (h->plt.offset != (bfd_vma) -1)
{
asection *splt;