Index: bfd/elf32-epiphany.c |
diff --git a/bfd/elf32-epiphany.c b/bfd/elf32-epiphany.c |
index d5e61a2ad6266cf95f84e7e0cc63b7bfbfa8b606..b427ef33e097982ff33fef891153c201d7f8896d 100644 |
--- a/bfd/elf32-epiphany.c |
+++ b/bfd/elf32-epiphany.c |
@@ -1,5 +1,5 @@ |
/* Adapteva epiphany specific support for 32-bit ELF |
- Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2011 |
+ Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2011, 2012 |
Free Software Foundation, Inc. |
Contributed by Embecosm on behalf of Adapteva, Inc. |
@@ -524,9 +524,9 @@ epiphany_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; |