aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-or1k.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-or1k.c')
-rw-r--r--bfd/elf32-or1k.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c
index bdee1f1..b17a872 100644
--- a/bfd/elf32-or1k.c
+++ b/bfd/elf32-or1k.c
@@ -1407,7 +1407,8 @@ or1k_elf_relocate_section (bfd *output_bfd,
if (sec != NULL && discarded_section (sec))
RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
- rel, 1, relend, howto, 0, contents);
+ rel, 1, relend, R_OR1K_NONE,
+ howto, 0, contents);
if (bfd_link_relocatable (info))
continue;