| Index: bfd/elf32-d10v.c
|
| diff --git a/bfd/elf32-d10v.c b/bfd/elf32-d10v.c
|
| index 7d6539524acbf0adefc8f9696be711df811fd164..246e5f51650c4b3f0f8049f9bc5d8b0ddc34ed4c 100644
|
| --- a/bfd/elf32-d10v.c
|
| +++ b/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;
|
|
|