aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-openrisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-openrisc.c')
-rw-r--r--bfd/elf32-openrisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-openrisc.c b/bfd/elf32-openrisc.c
index ada738e..1c9e14a 100644
--- a/bfd/elf32-openrisc.c
+++ b/bfd/elf32-openrisc.c
@@ -1,5 +1,5 @@
/* OpenRISC-specific support for 32-bit ELF.
- Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2012
Free Software Foundation, Inc.
Contributed by Johan Rydberg, jrydberg@opencores.org
@@ -373,7 +373,7 @@ openrisc_elf_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);