aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-12-31 15:25:32 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-12-31 15:25:32 -0800
commit74b290f6859d77129e12162657cc52a66da38ca6 (patch)
treee9358a11040048f54a47de4b80f2cdeb41918b74 /binutils
parentafba05c2b88f922f8efac6ba8b8c8699a9f19fd7 (diff)
downloadriscv-gnu-toolchain-74b290f6859d77129e12162657cc52a66da38ca6.zip
riscv-gnu-toolchain-74b290f6859d77129e12162657cc52a66da38ca6.tar.gz
riscv-gnu-toolchain-74b290f6859d77129e12162657cc52a66da38ca6.tar.bz2
binutils: upgrade to version 2.25
Diffstat (limited to 'binutils')
-rw-r--r--binutils/bfd/elfnn-riscv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/binutils/bfd/elfnn-riscv.c b/binutils/bfd/elfnn-riscv.c
index 48f3ddf..76ed631 100644
--- a/binutils/bfd/elfnn-riscv.c
+++ b/binutils/bfd/elfnn-riscv.c
@@ -1219,7 +1219,7 @@ riscv_elf_size_dynamic_sections (bfd *output_bfd, struct bfd_link_info *info)
/* Set up .got offsets for local syms, and space for local dynamic
relocs. */
- for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
+ for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link.next)
{
bfd_signed_vma *local_got;
bfd_signed_vma *end_local_got;
@@ -1729,12 +1729,12 @@ riscv_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
}
else
{
- bfd_boolean warned;
+ bfd_boolean warned, ignored;
RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
r_symndx, symtab_hdr, sym_hashes,
h, sec, relocation,
- unresolved_reloc, warned);
+ unresolved_reloc, warned, ignored);
if (warned)
{
/* To avoid generating warning messages about truncated
@@ -2913,7 +2913,7 @@ fail:
#define ELF_MAXPAGESIZE 0x2000
#define ELF_COMMONPAGESIZE 0x2000
-#define TARGET_LITTLE_SYM bfd_elfNN_riscv_vec
+#define TARGET_LITTLE_SYM riscv_elfNN_vec
#define TARGET_LITTLE_NAME "elfNN-littleriscv"
#define elf_backend_reloc_type_class riscv_reloc_type_class