summaryrefslogtreecommitdiffstats
path: root/binutils-2.22/bfd/elf32-d10v.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.22/bfd/elf32-d10v.c')
-rw-r--r--binutils-2.22/bfd/elf32-d10v.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils-2.22/bfd/elf32-d10v.c b/binutils-2.22/bfd/elf32-d10v.c
index 7d65395..246e5f5 100644
--- a/binutils-2.22/bfd/elf32-d10v.c
+++ b/binutils-2.22/bfd/elf32-d10v.c
@@ -1,6 +1,6 @@
/* D10V-specific support for 32-bit ELF
Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007 Free Software Foundation, Inc.
+ 2007, 2010, 2012 Free Software Foundation, Inc.
Contributed by Martin Hunt (hunt@cygnus.com).
This file is part of BFD, the Binary File Descriptor library.
@@ -463,9 +463,9 @@ elf32_d10v_relocate_section (bfd *output_bfd,
unresolved_reloc, warned);
}
- if (sec != NULL && elf_discarded_section (sec))
+ if (sec != NULL && discarded_section (sec))
RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
- rel, relend, howto, contents);
+ rel, 1, relend, howto, 0, contents);
if (info->relocatable)
continue;