Index: bfd/elf32-cr16c.c |
diff --git a/bfd/elf32-cr16c.c b/bfd/elf32-cr16c.c |
index ca2d7cbb4a355409523707363f702a307568416d..ea227016aee89455a9be97c27c8f32b16f142eaf 100644 |
--- a/bfd/elf32-cr16c.c |
+++ b/bfd/elf32-cr16c.c |
@@ -1,5 +1,5 @@ |
/* BFD back-end for National Semiconductor's CR16C ELF |
- Copyright 2004, 2005, 2006, 2007, 2009, 2010 |
+ Copyright 2004, 2005, 2006, 2007, 2009, 2010, 2012 |
Free Software Foundation, Inc. |
This file is part of BFD, the Binary File Descriptor library. |
@@ -723,9 +723,9 @@ elf32_cr16c_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) |
{ |