| Index: bfd/elf32-openrisc.c
|
| diff --git a/bfd/elf32-openrisc.c b/bfd/elf32-openrisc.c
|
| index ada738e066fc94622b780ccaab597b4bd0c021ed..2b002abcc73b8c8e559e605eac4f8c83d19b2dc6 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,9 +373,9 @@ 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);
|
| + rel, 1, relend, howto, 0, contents);
|
|
|
| if (info->relocatable)
|
| continue;
|
|
|