Index: bfd/elf32-iq2000.c |
diff --git a/bfd/elf32-iq2000.c b/bfd/elf32-iq2000.c |
index 63ef3dcfc828f47511cd951f6ff5ffb246d9ceb9..079a96219434be4a6ff2ed8129c14d36a1d3eff4 100644 |
--- a/bfd/elf32-iq2000.c |
+++ b/bfd/elf32-iq2000.c |
@@ -1,5 +1,5 @@ |
/* IQ2000-specific support for 32-bit ELF. |
- Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 |
+ Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2012 |
Free Software Foundation, Inc. |
This file is part of BFD, the Binary File Descriptor library. |
@@ -633,9 +633,9 @@ iq2000_elf_relocate_section (bfd * output_bfd ATTRIBUTE_UNUSED, |
name = h->root.root.string; |
} |
- 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; |